Reader small image

You're reading from  Salesforce for Beginners - Second Edition

Product typeBook
Published inOct 2022
PublisherPackt
ISBN-139781803239101
Edition2nd Edition
Concepts
Right arrow
Authors (2):
Sharif Shaalan
Sharif Shaalan
author image
Sharif Shaalan

Sharif Shaalan was first introduced to Salesforce as an end user in 2007. His range of experience, from a sales rep to technical architect, helped him successfully lead more than 100 implementations including projects that were showcased on the main stage at Dreamforce. In 2013, Sharif was chosen as a Salesforce MVP, and in 2020 he was inducted into the Salesforce MVP Hall of Fame. Sharif is a regular speaker at Salesforce conferences and has obtained more than 10 Salesforce certifications. He is the founder and CEO of Agile Cloud Consulting and continues to be an active Salesforce community contributor
Read more about Sharif Shaalan

Timothy Royer
Timothy Royer
author image
Timothy Royer

Timothy Royer is the VP of Delivery at Agile Cloud Consulting and a Salesforce Certified Application Architect. Timothy began his Salesforce career in 2012 as an accidental administrator and has since participated in a number of implementations in a variety of roles. Timothy has experience as a Salesforce customer, a Salesforce partner, and as a member of the Salesforce.org professional services team.
Read more about Timothy Royer

View More author details
Right arrow

Approval Processes

Approval processes are a type of automation that allows users to submit Salesforce records so that they can be approved in order to continue a specific business process. The approval process has the option of sending the record to one or multiple approvers (in a round-robin fashion), as well as the ability to add submission, approval, rejection, and recall actions. Having these checks and balances on business processes allows for a more streamlined and efficient workflow. Creating and maintaining approvals is a vital part of a Salesforce admin’s day-to-day work.

In this chapter, we will cover the following topics in detail:

  • Creating an approval process
  • Adding entry criteria and approver selection
  • Adding actions and viewing the approval steps
  • Enabling email approvals
  • Business use case

With the help of these topics, you will understand when and how to create an approval process. You will understand how to create...

Technical requirements

For this chapter, log into your development organization and follow along as we create an approval process from start to finish.

Creating an approval process

An approval process is a great tool that’s used to execute business logic automatically based on a Salesforce record being submitted for approval, and then approved or rejected by another user. Knowing the capabilities of approval processes will help you come up with efficient workflows that lead to fewer clicks and cleaner data. Let’s see how this is done.

Business use case

You are the Salesforce Admin for XYZ Widgets. The sales manager has a use case where all closed sales that are $200,000 or higher and are in the negotiation/review stage need to be submitted to them for final approval. Once the deal is approved, the opportunity stage should automatically update to Closed Won. Let’s build this approval!

Approval process in action

To create the approval process, perform the following steps:

  1. Navigate to the Setup page | the Home tab (1) | Approval Processes (2):
Graphical user interface, application  Description automatically generated

Figure 17.1: Navigating to Approval...

17 Approval Processes

Approval processes are a type of automation that allows users to submit Salesforce records so that they can be approved in order to continue a specific business process. The approval process has the option of sending the record to one or multiple approvers, as well as the ability to add submission, approval, rejection, and recall actions. Having these checks and balances on business processes allows for a more streamlined and efficient workflow. Creating and maintaining approvals is a vital part of a Salesforce admin's day-to-day work.

In this chapter, we will cover the following topics in detail:

  • Creating an approval process
  • Adding entry criteria and approver selection
  • Adding actions and viewing the approval steps
  • Enabling email approvals
  • The business use case in action

With the help of these topics, you will be able to understand the business use case for creating an approval process. You will understand how to create an approval process, how to add entry...

Adding actions and viewing the approval steps

Now that we have created the approval process, let’s look at how to add actions and view the approval steps based on our business use case. The following screenshot shows where we land after clicking on View Approval Process Detail Page:

Graphical user interface, application  Description automatically generated

Figure 17.5: Highlighted areas of the Approval Process Detail Page

As shown in the preceding screenshot, there are multiple sections to consider:

  1. Initial Submission Actions: The default action when a user submits a record for approval is to lock the record from being edited. In addition to this, you can add one of the four additional actions, that is, create a task, create an email alert, update a field, or send an outbound message. For our business use case, there are no additional actions to create upon submitting an approval.
  2. Approval Steps: This section shows the steps needed to complete this approval. Had we added multiple approvers and the need for unanimous approval...

Enabling email approvals

Although the approver(s) will get a notification and can approve the record right from inside Salesforce, we want to add an extra option to make it a little easier for our executives on the move. This option is to allow the approver to approve a record by replying to the approval request email with APPROVE or REJECT.

In the following screenshot, I navigated to Process Automation Settings to enable this feature:

Graphical user interface, text, application, email  Description automatically generated

Figure 17.10: Navigating to Process Automation Settings from the Home tab

As you can see, I ticked the Enable email approval response checkbox. This will now give our approver(s) another option to approve the record:

Figure 17.11: Example of an approval response email

Now that we have set up the approval process and enabled the option for an approver to approve via email, let’s test it out!

Business use case

Now that we have built the approval process, let’s test it out to see if it meets our business requirements. As a recap, the sales manager wants all closed sales that are $200,000 or higher and are in the negotiation/review stage to be submitted to them for final approval. Once the deal has been approved, the opportunity stage should automatically update to Closed Won. Let’s see how this works:

  1. Navigate to the Burlington Textiles Weaving Plant Generator opportunity:

    Figure 17.12: Opportunity with the amount and stage sections highlighted

    Here, we can see that this opportunity has an amount that is greater than $200,000 and is in the Negotiation/Review stage, so it meets the criteria for being submitted for approval.

  1. From the dropdown arrow in the upper-right corner, we can access and click on the Submit for Approval button. The following popup will appear:
Graphical user interface, application  Description automatically generated

Figure 17.13: Popup when submitting...

Summary

In this chapter, we learned what approval processes are and the use cases for building approvals into our business processes. We learned how to create an approval process and define the entry criteria and select an approver. We also learned how to view approval steps, as well as add various actions based on submitting, approving, rejecting, and recalling the record.

With the use of these skills, you should be able to come up with checks and balances that control various aspects of the business process flow, as well as apply technical solutions for the approval-related requirements that come from your users. In the next chapter, we will look at a different automation tool available in Salesforce, assignment rules.

Questions

  1. What is the difference between the Jump Start Wizard and the Standard Setup Wizard?
  2. Are you able to have more than one approver on an approval process?
  3. Why does the record lock for editing when a user submits it for approval?
  4. How are the approval process and workflow rule actions similar?
  5. What happens to the editability of a record if a user recalls it from an approval?
  6. What is the last step needed for an approval process to be live and working?
  7. Where can an approver see all items needing approval that have been assigned to them?

Further reading

Join our community on Discord

Join our community’s Discord space for discussions with the authors and other readers: https://packt.link/rlptF

lock icon
The rest of the chapter is locked
You have been reading a chapter from
Salesforce for Beginners - Second Edition
Published in: Oct 2022Publisher: PacktISBN-13: 9781803239101
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
undefined
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime

Authors (2)

author image
Sharif Shaalan

Sharif Shaalan was first introduced to Salesforce as an end user in 2007. His range of experience, from a sales rep to technical architect, helped him successfully lead more than 100 implementations including projects that were showcased on the main stage at Dreamforce. In 2013, Sharif was chosen as a Salesforce MVP, and in 2020 he was inducted into the Salesforce MVP Hall of Fame. Sharif is a regular speaker at Salesforce conferences and has obtained more than 10 Salesforce certifications. He is the founder and CEO of Agile Cloud Consulting and continues to be an active Salesforce community contributor
Read more about Sharif Shaalan

author image
Timothy Royer

Timothy Royer is the VP of Delivery at Agile Cloud Consulting and a Salesforce Certified Application Architect. Timothy began his Salesforce career in 2012 as an accidental administrator and has since participated in a number of implementations in a variety of roles. Timothy has experience as a Salesforce customer, a Salesforce partner, and as a member of the Salesforce.org professional services team.
Read more about Timothy Royer