Toggle Side Panel

  • Home
  • Articles
    • All Articles
    • Blogs
    • Videos
    • Infographics
  • 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
  • Marketplace
  • Advertise With Us
  • Contact Us
  • Discussions
More options
    Sign in Sign up
    • Home
    • Articles
      • All Articles
      • Blogs
      • Videos
      • Infographics
    • 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
    • Marketplace
    • Advertise With Us
    • 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, 4 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

    [adinserter block="12"]

    Popular Salesforce Blogs

    Integrate Salesforce

    Why Your Business Needs to Integrate Salesforce with Jira - Top 6 Reasons

    Blog in Salesforce integration

    For every business, the customer is God! To prevent their fury, they leave no stone unturned to increase the smile on their face. For that,…

    Automation, Bi-directional Integration, Boost your Business, Boosts Productivity, Bug Monitoring Tool
    Emorphis Dec 3, 2021
    4,937  Views

    A Case Study of Salesforce Health Cloud and Salesforce Service Cloud Implementation

    Blog in Salesforce

    In the rapidly evolving healthcare landscape, technology plays a pivotal role in enhancing patient care and operational efficiency. This case study explores how a physician-run…

    Salesforce Health Cloud, Salesforce Service Cloud, Salesforce Service Cloud Implementation, Salesforce Service Cloud Integration Services, Salesforce Service Cloud Solutions
    Dean Sep 22, 2025
    1,095  Views

    Salesforce Elastix Integration | All You Need to Know

    Blog in Salesforce

    In the dynamic landscape of customer relationship management, Salesforce has emerged as a game-changer. Businesses are continually seeking innovative solutions to enhance their CRM capabilities,…

    Better Customer Insights, Boost Innovation, Business Environment, Call Logging Experience, Click-to-Call Experience
    Variance InfoTech Dec 20, 2023
    1,285  Views

    Popular Salesforce Videos

    What are Fields in Salesforce Admin?

    What are Fields in Salesforce Admin?

    Video in Salesforce Admin

    Identity, system, and name fields are standard on every object in Salesforce. Each standard object also comes with a set of prebuilt, standard fields. You can…

    Salesforce Training, Salesforce Tutorial, Salesforce Admin, Salesforce Video, Salesforce Learning
    CRS Jan 24, 2022
    1,727  Views
    When Salesforce is Down/Offline - Keep on Going With Zoho

    When Salesforce is Down/Offline - Keep on Going With Zoho

    Video in Salesforce Training

    Wtahc this video and learn how to keep your organization moving when Salesforce is DOWN or OFFLINE. Do let us know if you have any…

    Salesforce Training, Salesforce Tutorial, salesforce, Salesforce Learning, Organization
    Rupal Kakkar Aug 25, 2021
    3,520  Views
    What are Cross Object Formula fields in Salesforce?

    What are Cross Object Formula fields in Salesforce?

    Video in Salesforce Development

    In this video, Cross Object Formula Fields in Salesforce is explained by dividing this topic into 4 basic points, which are: 1. What is Cross…

    Salesforce Field Objects, How To Learn Salesforce Development, Salesforce Learning Steps For Beginners, Easy Way To Learn Salesforce, Best Salesforce Tutorials
    Portia Jan 17, 2019
    2,806  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.