Skip to main content

Salesforce

Streamline Your Sales Process: A Beginner’s Guide to Building Approval Processes in Salesforce

The approval process in Salesforce is a systematic workflow designed to streamline and manage the approval of various business processes within an organization. It helps to make critical decisions, approve sales discounts, contract approvals as well as many such kinds of requests that need to be approved before coming into process. With the approval process in Salesforce, organizations can establish predefined rules, criteria, and steps that guide the approval flow. This enables stakeholders to collaborate effectively and make informed decisions while maintaining transparency and accountability.

This is Part 2 of the Approval Process series.

If you’ve not read my previous blog on Introduction to the Approval Process in Salesforce, then please go through this also.

In this approval process, we will take an example of the “Leave Request Management” process which is highly familiar to any job professional and will help you comprehend the concept.

Prerequisites:

Before starting for Approval Process, you must have a clear understanding of the user who will approve the request. In addition, on which object you have to create an approval process.

Here, for the Leave Request Management, I’ve created 3 users like Employee Jack (who will request leave), Manger- Isabella (who will approve the request), and Senior Manager- Robert (who will also approve the request) respectively.

Image1

In addition, we built an object called “Leave Request” on which we are going to create an approval process.  The object and its associated fields are depicted below.

Image2

 

Let’s create Approval Process with a few easy steps:

Step 1: – Create an Approval Process.

  1. Go to Setup. Enter the Approval Process in Quick Find Box. Select “Approval Processes”.
  2. From the Manage Approval Processes picklist, select the “Leave Request” object.
  3. Click on the “Create New Approval Process” drop-down menu and select “Use Standard Setup Wizard”.
  4. In the Process Name column, type “Multi-Step Approval Process”. Unique names will be automatically populated. Click Next.
  5. In the Specify entry criteria section, select “criteria are met” from the picklist since we need to input all the records (leave requests) into the approval process. So, leave everything alone.  Click Next.
  6. In the “Next Automated Approver Determined by” field, select Manager from the drop-down menu. Click Next.
  7. Leave the Email Template step as is and click Next.
  8. As shown in the picture, select the fields that must be displayed to the approver and click Next.

Image3

 

  1. Check the “Display approval history info” box. Keep the rest of the things as is and click Next.
  1. For the Submitter Type, select Owner from the picklist. Ensure that “Leave Request Owner” will be there in the Allowed Submitters box and click Save.
  2. Select the – “I’ll do this later….” option. And click Go.

Now, with this, you are done with the approval process. But we are only half done. There are a few more miles to go. So, stay tuned.

Image4

 

Step 2: – Create Approval Steps.

  1. Inside the Approval Step related list, click New Approval Step.
  2. Enter Name and Description. Click Next.
  3. Keep “All records should enter this step“ as it is and click Next.
  4. In the Select Approver step, select Automatically Assign using the user field that was previously selected. (Manager) and click Save.
  5. Click the third option and click Go.

 

Step 3: – Initial Submission Actions.

          The purpose of “Initial Submission Actions” in an approval process is to determine whether the created record (here leave request) has been submitted for approval or not. These actions come up with features like email alerts, Field Updates and Outbound Messages respectively.

Let’s create an initial submission action in our approval process for the field update of the “Leave Type” picklist field so that an employee Jack (here) will get to know about it.

  1. Inside the Initial Submission Actions related list, click Add New and select Field Update.
  2. Enter the Name and select the field you want to update.
  3. To specify a new field value, select In Process from the picklist – A specific value.
  4. Click Save.

 

Step 4: – Final Approval Actions.

“Final Approval Action” is for updating the field as well as sending an Email Alert when the record is approved.

Let’s create a final approval action in our approval process for field update of the “Leave Type” picklist field so that an employee Jack (here) will get know about it.

  1. Inside the Final Approval Actions related list, click Add New and select Field Update.
  2. Enter the Name and select the field you want to update.
  3. From specify new field value, select Approved from the picklist – A specific value.
  4. Click Save.

 

Step 5: – Final Rejection Actions.

When a record is denied/rejected, the “Final Rejection Action” is used to update the field as well as send an email alert.

Let’s create a final rejection action to our approval process for field update of the “Leave Type” picklist field so that an employee Jack (here) gets notified.

  1. Inside the Final Rejection Actions related list, click Add New and select Field Update.
  2. Enter the Name and select field you want to update.
  3. From specify new field value, select Rejected from picklist – A specific value.
  4. Click Save.

You’ve now built Initial Submission Actions, Final Approval Actions, and Final Rejection Actions in your Approval Process. It will appear as follows.

Image5

 

Let’s create a Leave request record and see how all the actions work that you’ve created so far.

Leave Request Record –

  1. Go to the App Launcher, enter and select Leave Requests.
  2. Create a new record for Leave Request by entering all the required details. (From the “Leave Status” drop-down menu, don’t select any value.)
  3. Click Save. Notice that the “Leave Status” field is empty.
  4. Now, on the right-hand side, click “Submit for Approval” button. In this way you can submit record for approval. (If button is not visible, enable it from Page Layout.)
  5. After clicking submit for approval, the Leave status field’s value will automatically be changed. Here Initial submission action comes into process.

Image6

 

Now, the leave request is submitted to Jack’s Manager Isabella. So, from Users, login as Isabella and check the approval process came or not.

Here, if you log in as Manager Isabella, you will come to know that the approval request is floating at the notification icon on the right side. The request will be in a “pending” state until and unless Manager Isabella approves it.

 

Now, to approve the request, on the right side,

  1. Click Approve
  2. Enter comment (optional). Again

Click Approve again.

Image7

 

In this way, you approved the approval request. The request’s status also gets changed to Approved. “Final Approval Action” was initiated here.

The same phenomenon goes with the Rejection of approval requests. At this stage “Final Rejection Action” is launched.

 

Conclusion:

By implementing the approval process in Salesforce, organizations can enhance efficiency, reduce manual effort, maintain compliance, and ensure consistency in decision-making. It empowers teams to collaborate effectively, expedite critical business processes, and ultimately drive success in their sales, operations, and overall organizational workflows.

 

Happy Reading !!

 

Related Articles:

  1. Introduction to the Approval Process in Salesforce
  2. Approval Process Article 
  3. Multi-Step Approval Process in Salesforce using Standard Setup Wizard

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Abhinav Masane

Abhinav Masane is an Associate Technical Consultant at Perficient based in Nagpur. He is a Salesforce Certified Associate and Developer. Abhinav is always keen to learn and explore new technologies.

More from this Author

Follow Us
TwitterLinkedinFacebookYoutubeInstagram