Salesforce Tutorial# 8: Approval Process in Salesforce

In this chapter, we will take Automation in Salesforce one step further with Approvals. Approval Process in Salesforce defines each step of how records get approved in Salesforce.

Approval Process in Salesforce:

The approval process in Salesforce is an automated process that approves records for salesforce. As the process is automotive it works on certain criteria. The salesforce approval process may include rejection, recalled, or first-time submission of approval.

This automated process is handled using steps defined by the developer. It may be single-step approval or for more secure it can be multi-steps approval.

Common steps for approval in salesforce are:

  1. Setup -> Create -> Workflow and Approval -> Approval Process
  2. Select the object for the approval process to be written
  3. Click on Create New Approval Process
  4. Select Standard Setup Wizard from drop-down
  5. Enter the Process name, Unique Name and description for your process
  6. Specify Entry criteria

This must be defined if you want to work with specific criteria on the field

For example, if you want to apply such criteria that online bill payment can happen only for the bill amount greater than 10,000.

The field is selected as Bill Amount; Operator is greater than values will be 10000.

  1. Select formula evaluates true to check the syntax of formula and as well as to allow the formula to set criteria.
  2. You can assign an approval request to different users while writing the approval steps.
  3. To define initial submission action follow the path below:

New Field Update/Email/Task -> Conditions -> Save

  1. To define approval steps
  2. Manager Step -> New Approval Steps -> Enter name -> Repeat for all records -> Select approver manager and save
  3. CEO Step -> Approval Steps -> Enter name -> Set the criteria -> Save
  4. For the final approval process, you can use any of the following ways like New Field Update/ Email / Task as per the condition and click on save
  5. To define Rejection  New Field -> Write rejection condition -> Save

Note: To create a default approval process select Jump Start Wizard.

Single-step Approval

  1. If record matches all the auto-filter criteria approve the record.

Multi-steps Approval

The multi-steps approval process in salesforce is necessary when any of the following scenarios happen

  1. If a record does not fit for any of the auto-approval criteria already defined
  2. If record fits for partial auto-approval criteria then send it for approval to the appropriate approver
  3. If record fits the final approval criteria then send it to the approver

Differentiation between Workflow rule & Approval process

 Workflow triggers automatically on any DML action like Insert, Update. Remember we cannot use workflow once the record is deleted.

It consists of a single step or a single action to continue the process and workflow triggers are not visible to the user.

The approval process consists of multiple steps and should be approved by different users at a specific level. It may include rejection also.

Email to approve the request

We can set the approval process via Email, to enable email approval response use following steps

Setup -> select Process Automation Settings -> select the Enable Email Approval Response checkbox, and click Save.

While responding to an approval request, some words can be used in the first line with periods or exclamatory marks. The words like Approved, Approve, Yes  used for approval while Reject, Rejected, No used for rejection.

Understanding the order of Execution of all these rules

Any process in salesforce follows the order mentioned below. Salesforce always executes validation rules first, which are followed by Assignment rule then auto-response, and then workflow rules followed by escalation rules.

  1. Validation rules
  2. Assignment rules
  3. Auto-response rules
  4. Workflow rules
  5. Escalation rules

 That’s all for the Approval Process in Salesforce. If you need to refer to previous sessions, please find below the index.

Tutorial Index

  1. Introduction to Cloud Computing (Salesforce.com and Force.com)
  2. Overview of Database Concepts (Salesforce.com)
  3. Introduction to Force.com
  4. Building Salesforce Custom App and Objects
  5. Object Relationships and Formula Field in Salesforce
  6. Salesforce Security Model and Overview
  7. Automation in Salesforce
  8. Approval Process in Salesforce
  9. Introduction to SOQL and SOSL
  10. Introduction to Apex
  11. Salesforce Data Management
  12. Visualforce MVC Architecture on Cloud
  13. Salesforce Reports and Dashboards
  14. Building a Visualforce (Custom) Page for the Salesforce App
  15. Salesforce Sandbox and Overview of Force.com capabilities
  16. Learning Apex and Deployment Tools

 

12 Comments
  1. December 30, 2019 | Reply
  2. Aastha Jain
    June 18, 2019 | Reply
  3. Raju
    November 8, 2018 | Reply
    • Gaurav
      February 7, 2020 | Reply
  4. Suguna Palisetti
    September 18, 2018 | Reply
    • September 19, 2018 | Reply
      • Suguna P
        September 20, 2018 | Reply
  5. Fabian Paul
    June 14, 2018 | Reply
    • Renuka
      June 15, 2018 | Reply
      • September 22, 2018 | Reply
  6. May 16, 2018 | Reply
  7. May 3, 2018 | Reply

Add a Comment

Your email address will not be published. Required fields are marked *