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

    Grow-Your-Business-With-Sales-Cloud

    Remarkable Ways To Grow Your Business With Sales Cloud

    Blog in Salesforce Cloud Platform

    The end goal of every business is to maximize its sale because that is the only thing that creates revenue for it. Lead generation, improving…

    Business Success, ROI, Sales Cloud, Sales Reps, Salesforce CRM
    William Feb 26, 2019
    5,299  Views
    Future apex

    Future Methods in Apex | The Salesforce Developer Guide

    Blog in Others, Salesforce Apex

    Future Apex is utilized to run measures in a different string, sometime in the not too distant future when framework assets become accessible.  Note: Technically,…

    Apex Summon, Best Practices, Callout, Callouts from a Trigger, Client
    Sumit kumar Dec 17, 2020
    9,809  Views

    Salesforce Data Cleansing Guide

    Blog in Data

    The Salesforce data cleansing process involves identifying, correcting, and maintaining accurate and consistent data within the Salesforce platform. Data cleansing is essential to ensure the…

    Data Classification, Data Validation, Multiple Workflows, Salesforce Consulting, Salesforce Data
    Kizzy Consulting Nov 15, 2023
    1,223  Views

    Popular Salesforce Videos

    How Is The Future Of Salesforce?

    How Is The Future Of Salesforce?

    Video in Salesforce Development

    Wondering about the future of Salesforce? Join this useful group for Salesforce job & career info and get all the details you need.

    Salesforce Training, Salesforce Tutorial, Salesforce Development, Salesforce Admin, Salesforce Developers
    Intelogik Nov 18, 2022
    1,867  Views
    How Salesforce Industries can Help Organizations to Save Millions?

    How Salesforce Industries can Help Organizations to Save Millions?

    Video in Salesforce Stories

    Salesforce Industries i.e Vlocity empowers businesses with powerful platforms to boost collaboration and makes it easy to deliver great customer experiences. It provides tailored solutions…

    Salesforce Training, Salesforce Tutorial, salesforce, Salesforce Webinar, Salesforce Video
    Cyntexa Dec 5, 2022
    1,907  Views
    Introduction to Salesforce

    Introduction to Salesforce

    Video in Salesforce Stories, Trailhead

    The topics covered in this video: Cloud Computing Salesforce CRM Basics Navigating UI Salesforce Environment Trailhead Basics Related Trails for this session: Trailhead Basics Salesforce…

    salesforce, Cloud Computing, Salesforce Platform Basics, Salesforce Environment, Salesforce CRM Basics
    Jogender Apr 30, 2020
    2,290  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.