Approval Process In Salesforce

Approval Process in Salesforce

What is Approval Process in Salesforce?

Approval Process in Salesforce is an automated process that automates how Salesforce records are approved in your org. Approval Process in Salesforce is a combination of steps for a record to be approved/rejected either by a user, queue or public groups. An approval process also specifies the actions to take when a record is approved, rejected, recalled, or first submitted for approval.

For example, when an employee creates a time-off request, have Salesforce automatically sends an approval request to the employee’s manager.

Salesforce Approval Process

Here is list of steps for approval process in salesforce :

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

Approval Process Example

Here is list of sections to be configured in salesforce approval process:

  • Process Definition Detail – Approval Process Header level details like name, email template etc.
  • Initial Submission Actions – It will be executed when the user clicks on ‘Submit for Approval’ on the object record.
  • Approval Steps – Details of Steps criteria and the approvers
  • Final Approval Actions – It will be executed after all the approval process steps have been approved.
  • Final Rejection Actions – It will be executed if one of the approval process steps have been rejected.
  • Recall Actions – It will be executed if one of the approval process steps have been recalled.

 

Build Approval Process

Let’s build an approval process where the sales manager approves opportunities where the total opportunity amount exceeds 500K. The opportunity should reflect its approval status: Approved or Not Approved.

Planning

Make sure you preplan before you start configuring the Approval process in salesforce because this will help you design the approval process in the most optimized ways. Preplanning includes of:

  • creation of required fields
  • Identify the object for the Approval process
  • Email Template
  • Final Approval Actions like unlock record or change the status of the record

In this example, we would need below:

In Order to…We Need…
Track each opportunity’s approval statusCustom field (Opportunity)
Request approval from managers when an opportunity total Amount is more than 500KApproval process (Opportunity)
Notify managers when an opportunity amount needs approvalEmail template
When managers respond, update the opportunity’s approval statusApproval actions (Field Update)

Create Approval Process

  1. Login to Salesforce however you can ignore this step if already logged in.
  2. Navigate to Setup and search for ‘Approval process’ in Quick find or navigate to ‘Create’->Workflow & Approvals -> Approval Process
  3. For Manage Approval Processes For, select OpportunityCreate Approval process Salesforce 
  4. Click Create New Approval Process | Use Jump Start Wizard.
    The Jump Start Wizard helps you create a simple approval process by making some decisions for you.
  5. Configure the approval process.Salesforce Approval Process
    FieldValue
    NameApprove Opportunity Amount
    Approval Assignment Email TemplateApprove Opportunity Amount
    Specify Entry CriteriaOpportunity: Opportunity Amount greater than 500K
    Select ApproverLet the submitter choose the approver manually
  6.  Save the approval process.
  7. Click View Approval Process Detail Page.
  8. Under Final Approval Actions, click Add New | Field Update, and configure it with these values.Salesforce Approval Process Field Update
    FieldValue
    NameApproved
    Field to UpdateApproval  Status
    A Specific valueApproved
  9. Click Save.
  10. Under Final Rejection Actions, click Add New | Field Update, and configure it with these values.
    FieldValue
    NameNot Approved
    Field to UpdateApproval  Status
    A Specific valueNot Approved
  11. Click Save.

Great job!  Your Approval Process has been successfully configured.

Approval Actions

We used only ‘Field Update’ in our above example. I would like to explain more regarding Approval Actions like Final Approval Actions, Final Rejection Actions which consists of :

  • Task – If a task is selected then the user can insert a task for a record so for our example on Opportunity once the approval process has been approved/rejected.
  • Email Alert – If an Email Alert is selected then the user will be notified via email once the approval process has been approved/rejected.
  • Field Update – You have already seen an example in the above but again, the system will update the field to the mentioned value once the approval process has been approved/rejected.
  • Outbound Message – This will help notify 3rd Party systems. Think for a scenario where you want to notify the backend system or provisioning system on the approval results so for example once orders are approved start generating the bills then this will help you to achieve the requirement.

Approval Process Actions salesforce

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.

Difference between workflow rule and approval process

Workflow triggers automatically on any DML action like Insert, Update. It consists of a single step or a single action to continue the process and workflow triggers are not visible to user.

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

For more details on the approval Process, please refer to trailhead salesforce.

Happy Learning 🙂

Permanent link to this article: https://www.sfdcpoint.com/salesforce/approval-process-in-salesforce/

5 comments

Skip to comment form

    • Vijay on December 30, 2019 at 9:02 pm
    • Reply

    Very good explanation of approval process in salesforce.

    • Simon on March 3, 2020 at 3:26 am
    • Reply

    Very well explanation about Salesforce Approval Process.

    • Janet on April 2, 2020 at 11:40 am
    • Reply

    I have approval process set up to allow myself as system administrator to check on the orders before letting Sales generate the or contract. But I found that some Sales Managers approved the record ahead of me. is there anyway to prevent ‘non assigned approvers to approve a record’?

    • crystal on October 27, 2020 at 11:29 pm
    • Reply

    what are differences between step action and final approval action? I realized some of functions do not work well when the field update in the final approval function.

    • Melissa Linenberger on November 13, 2020 at 4:15 am
    • Reply

    Hi Ankush,

    You say above that you can use public groups to assign for approval. I’m not finding a way to do this. Can you please provide more information? Thanks!

Leave a Reply

Your email address will not be published.