Toggle Side Panel

  • Blogs
  • Consultants
    • Salesforce Product Expertise
      • Top Salesforce ConsultantsTop Salesforce Consultants
      • Marketing Cloud ConsultantsMarketing Cloud Consultants
      • Service Cloud ConsultantsService Cloud Consultants
      • Experience Cloud ConsultantsExperience Cloud Consultants
      • Analytics Cloud ConsultantsAnalytics Cloud Consultants
    • Salesforce Industry Expertise
      • Non-Profit Cloud ConsultantsNon-Profit Cloud Consultants
      • Financial Service Cloud ConsultantsFinancial Service Cloud Consultants
      • Health Cloud ConsultantsHealth Cloud Consultants
      • Commerce Cloud ConsultantsCommerce Cloud Consultants
      • Manufacturing Cloud ConsultantsManufacturing Cloud Consultants
    • Salesforce Experts by Location
      • USATop Salesforce Consultants in USA
      • IndiaTop Salesforce Consultants in India
      • AustraliaTop Salesforce Consultants in Australia
      • United KingdomTop Salesforce Consultants in UK
      • CanadaTop Salesforce Consultants in Canada
  • Webinars
  • Contact Us
  • Discussions
More options
    Sign in Sign up
    • Blogs
    • Consultants
      • Salesforce Product Expertise
        • Top Salesforce ConsultantsTop Salesforce Consultants
        • Marketing Cloud ConsultantsMarketing Cloud Consultants
        • Service Cloud ConsultantsService Cloud Consultants
        • Experience Cloud ConsultantsExperience Cloud Consultants
        • Analytics Cloud ConsultantsAnalytics Cloud Consultants
      • Salesforce Industry Expertise
        • Non-Profit Cloud ConsultantsNon-Profit Cloud Consultants
        • Financial Service Cloud ConsultantsFinancial Service Cloud Consultants
        • Health Cloud ConsultantsHealth Cloud Consultants
        • Commerce Cloud ConsultantsCommerce Cloud Consultants
        • Manufacturing Cloud ConsultantsManufacturing Cloud Consultants
      • Salesforce Experts by Location
        • USATop Salesforce Consultants in USA
        • IndiaTop Salesforce Consultants in India
        • AustraliaTop Salesforce Consultants in Australia
        • United KingdomTop Salesforce Consultants in UK
        • CanadaTop Salesforce Consultants in Canada
    • Webinars
    • Contact Us
    • Discussions
    Close search

    Activity › Forums › Salesforce® Discussions › How can we create workflow through apex in Salesforce?

    Tagged: Apex System Class, Approval Process, Business Logic, Metadata API, Salesforce Apex, Workflow Rules

    • Salesforce® Discussions

      How can we create workflow through apex in Salesforce?

      Posted by Nikita on December 6, 2019 at 8:37 AM

      How can we create workflow through Apex in Salesforce?

      Deepak replied 6 years, 11 months ago 2 Members · 1 Reply
      • Apex System Class
      • Approval Process
      • Business Logic
      • Metadata API
      • Salesforce Apex
      • Workflow Rules
    • 1 Reply
    • Deepak

      Member
      December 6, 2019 at 12:32 PM

      You can not create approval process or workflow with Apex system classes.

      These are configurable business logics which can not be created generally in Apex.

      But there is one way of creating these components is Metadata API. In metadata API you can create Approval process, workflows, workflow rules, Assignment rules and other admin and development logics.

      In apex, a record can be submit for approval, a record can be rejected and approved. You can only access already created Approval process on object and perform submit, approve and reject operations on record. Workflow rules can not be accessed in this way.

    Log In to reply.

    • Public
    • All Members
    • My Connections
    • Only Me
    • Public
    • All Members
    • My Connections
    • Only Me
    • Public
    • All Members
    • My Connections
    • Only Me

    Popular Salesforce Blogs

    Salesforce Sales Dashboards

    Top 7 Salesforce Sales Dashboards for 2022-2023

    Blog in Salesforce

    Salesforce Sales dashboards are great tools for taking full advantage of CRM capabilities. The platform allows you to collect all the information about your company,…

    Best Client, Best Opportunities, Business Decisions, Business Opportunities, Business Owners
    SkyPlanner Oct 27, 2022
    2,943  Views
    Complete Guide To Salesforce Marketing Cloud Implementation in 2024

    Complete Guide To Salesforce Marketing Cloud Implementation in 2024

    Blog in Salesforce Implementation

    In today's digital age, effective marketing requires more than just reaching out to potential customers. It involves understanding their behaviors, preferences, and needs to deliver…

    Audience Builder, Audience Segmentation, Automation Studio, Branding Guidelines, Continuous Learning
    Codleo Apr 8, 2024
    2,612  Views

    Cloud Consultation Services: Transform Your Digital Infrastructure Fast

    Blog in Data Migration

    Introduction Navigating the modern digital landscape requires a solid technical foundation, and many organizations struggle to align their infrastructure with fast-moving business goals. Adopting new…

    cloud consultation, cloud consultation services.
    Jack Sep 18, 2026
    160  Views

    Popular Salesforce Videos

    Mastering Apex Collections | Salesforce Tutorial

    Mastering Apex Collections | Salesforce Tutorial

    Video in Salesforce Apex, Salesforce Training

    Working with collections like List, Map and Set is part of the day’s routine for Apex developers. While their basic use is straightforward, there are…

    Salesforce Training, Salesforce Tutorial, Salesforce Apex, salesforce, Apex
    Prafull Oct 6, 2021
    2,856  Views
    Salesforce Data Loader | Import Relational Data

    Salesforce Data Loader | Import Relational Data

    Video in Salesforce Products, Salesforce Training

    What is Data Loader and How to use it to import or export data to or from Salesforce? 00:00 What is Data Loader 01:00 How…

    Salesforce Training, Salesforce Tutorial, salesforce, Salesforce Data Loader, Salesforce Org
    Pooja Aug 19, 2021
    2,797  Views
    Lead Together with Salesforce | Salesforce Partners

    Lead Together with Salesforce | Salesforce Partners

    Video in Salesforce Stories

    Learn more about the Equality Programs and initiatives that are available to Salesforce Partners, including the Salesforce Talent Alliance. Watch this video to learn all…

    Salesforce Training, Salesforce Tutorial, salesforce, Salesforce Guide, Salesforce Video
    Nauman Aug 4, 2021
    1,894  Views
    Footer Forcetalks logo

    support@forcetalks.com

    • twitterx

    Quick Links

    Advertise with Us

    Salesforce® Articles

    Dreamforce 2023

    Top Salesforce® Bloggers 2023

    Top Salesforce Consultants

    Get Listed

    Company

    Contact Us

    About Us

    Privacy Policy

    Terms & Conditions

    InsightHub

    Salesforce Blogs

    Salesforce Videos

    Salesforce Groups

    Salesforce Jobs

    © 2026 - Forcetalks ● All Rights Reserved

    Salesforce® is a trademark of Salesforce® Inc. No claim is made to the exclusive right to use “Salesforce”. Any services offered within the Forcetalks website/app are not sponsored or endorsed by Salesforce®.

    We use cookies to enhance your browsing experience. Please see our privacy policy if you'd like more information on our use of cookies.