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 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

    application solution

    Popular Salesforce Blogs

    Salesforce REST API

    Salesforce REST API | HTTP and Callout Basics | All You Need to Know

    Blog in Others, Salesforce

    HTTP and Callout Basics REST callouts depend on HTTP. To see how callouts work, it's useful to comprehend a couple of things about HTTP. Each…

    Apex Runtime, Autogenerated Code, Callout Basics, Callout Code, Code Demonstrates
    Sumit kumar Mar 11, 2021
    55,894  Views
    Using AngularJS with Salesforce Remote Actions

    Angular JS with Salesforce Remote Actions

    Blog in Coding and Scripting

    Using Angular JS with Remote Actions Nowadays Angular JS is a great front end framework in order to manipulate DOM and do many more things…

    DOM, IDE, Remote Actions, Salesforce Apex Code, Salesforce Apex Page
    Prasad Oct 26, 2016
    9,879  Views
    sales cloud vs service cloud

    Sales Cloud Vs Service Cloud: What are the Key Difference?

    Blog in Salesforce Cloud Platform

    No Salesforce Service Cloud Solution would be complete without its sales cloud counterpart. They are all part of the Salesforce platform and are essential modules…

    Best Experience, Client Records, Clients, Cloud Basic, Company
    Dave Mar 18, 2021
    2,744  Views

    Popular Salesforce Videos

    How Cyntexa Helped Diet Meal And Food Ordering Service Providers Offer Their Users The Ability To Order Online | Salesforce

    How Cyntexa Helped Diet Meal And Food Ordering Service Providers Offer Their Users The Ability To Order Online | Salesforce

    Video in Salesforce Training

    It is important to keep your business at the top with the latest technical advancements. Presenting you a case study showcasing how Cyntexa Helped Diet…

    Salesforce Training, Salesforce Tutorial, salesforce, Salesforce Video, Salesforce Learning
    Cyntexa Jun 20, 2022
    2,149  Views
    Salesforce and Slack: Success from Anywhere - Your Digital HQ

    Salesforce and Slack: Success from Anywhere - Your Digital HQ

    Video in Salesforce Stories

    Welcome to Success from Anywhere: Your Digital HQ. Join our Slack-First Customer 360 event to find out more. Register now: https://www.salesforce.com/events-master/digital-hq/ Success Anywhere means coming…

    Salesforce Training, Salesforce Tutorial, salesforce, Salesforce Video, Customer 360
    Nauman Jul 22, 2021
    2,079  Views
    When to Use Apex? | Flows of Action in Apex | Learn Salesforce Development

    When to Use Apex? | Flows of Action in Apex | Learn Salesforce Development

    Video in Salesforce Apex, Salesforce Training, Salesforce Development

    In this Video Shrey explained When to use Apex and Flows of Action in APEX. Let's Learn the End User and Developer action (Flows of…

    Salesforce Training, Salesforce Development, Salesforce Apex, Apex, Salesforce Video
    Nauman Jun 25, 2021
    3,144  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

    © 2025 - 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®.

    Try AuditMyCRM - It is a Salesforce CRM Audit tool which comprehensively scans your Salesforce org and gives you the list of errors or warnings you need to take care of.
    We use cookies to enhance your browsing experience. Please see our privacy policy if you'd like more information on our use of cookies.