Skip to main content

Test Your Approval Process

Time to Test

Now that you’ve created your approval process, let's test it out.  

  1. Using the App Launcher, navigate to the Travel App and click the Travel Approvals tab..
  2. Select a record from the list. Make sure this is a travel approval record that has at least one expense item and a total expense amount greater than $0.
  3. Click the down arrow next to the New Opportunity button and select Submit for Approval.. Travel Approvals tab with Submit for Approval selected
  4. Enter a comment and click Submit.
  5. You should receive an email alert like the following that lets Eric Executive know that he has a travel approval to process. Notice that it provides a link to directly access the Travel Approval record so that Eric could review it. Also, the email includes the option to just respond to the email and reply with text like APPROVE, YES, REJECT, NO. Approval Request email
  6. On your Travel Approval record, click the Related tab and you can see the new section titled Approval History that has details of your approval submission. Its status is Pending and it’s assigned to Eric Executive.
  7. At this point you could log out of Salesforce and log back in as Eric Executive. You can find this travel approval record (or click the link in the email) and see the same view as above. Since you are a System Administrator, you have the authority to approve any requests even if they are pending on other users.
  8. Click Approve in the Approval History section.
  9. In the popup window, enter a comment and click the Approve button once again. Comments box with comment.
  10. Since this was for out-of-town travel, the approval was sent to the Travel Coordinator (remember, this is the logic we defined for the Approval Process). The approval is actually pending on yourself since you are acting as the travel coordinator (obviously, this wouldn’t be the case in a real-world implementation). Travel Approval record with Travel Coordinator Approval status of Pending
  11. Click Approve in the Approval History section to finish the approval.
  12. Enter a comment in the popup window and click Approve.
  13. The Approval History section should now look like the following: Approval History section with Approved status
  14. Click the Details tab for your travel approval record. You should also notice the status value has been updated to Approved and the Status Indicator field now shows a green thumbs-up icon. Travel Approval record with thumbs-up Status Indicator
  15. Pick or create another travel request record and submit it for approval. Check your email and respond to the email with Reject. Navigate back to this travel approval record (or just click the link in the email). You should get the status value of Rejected and a red thumbs-down icon.
Note

It may take up to 1 minute for the email response to be processed so you may need to refresh your browser a couple of times to see the change.

Travel Approval record with thumbs-down Status Indicator.

Congratulations! You have added automation to your application using point and click tools such as:

  • Validations Rules
  • Formula Fields
  • Roll-Up Summary Fields
  • Flow Builder
  • Approval Processes
Keep learning for
free!
Sign up for an account to continue.
What’s in it for you?
  • Get personalized recommendations for your career goals
  • Practice your skills with hands-on challenges and quizzes
  • Track and share your progress with employers
  • Connect to mentorship and career opportunities