The process of creating an approval shares some steps with the process of creating a workflow, but the more flexible approval process requires additional configuration.
Now that the approval process is set up, you can add steps to the overall process.
1. | |||
2. | Give this approval step a Name of Manager Approval and an appropriate description. Click Next. | ||
3. | On the next page, leave the default of All records should enter this step. Click Next. On the next page, you can specify how the approver for this step is set. You can automatically assign the step to the user field you selected for the entire approval process, in this case the Manager field, automatically assign the step to another User, Queue or Role, or let the user designate the next approver. Tip
| ||
4. | Chose Automatically assign to approver(s) and then select Related User and Hiring Manager for the user. Click Save.
With these selections, you have directed the first step of the approval process to the manager of the Hiring Manager. The next page lets you either return to the detail listing of the approval or create an action for this approval step. You can define two types of actions: actions taken when the approver approves or rejects this step. You can also define a final approval and rejection action for the entire process. Since this approval only has one step, approval and rejection actions for that step can be the same as overall approval and rejection actions. And since you are adding more steps to the overall process later in this chapter, simply create final approval and rejection steps. | ||
5. | Select the option to not define any steps at this time, and click Go! | ||
6. | On the Summary page, select Add New Email under Final Approval Actions. The resulting page is the workflow alert definition page you used earlier in the chapter. Give the alert a description of Position approved and use the Email Template with the same name. Make the recipient the related user Hiring Manager since you want to send a proactive email to the Hiring Manager to let them know the position has been approved. | ||
7. | Click Save to return to the detail page for the approval process. | ||
8. | Under Final Rejection Actions, click Add New Email. | ||
9. | Give this workflow alert a description of Position Rejected and use the Email Template with the same name. Once again, make the Hiring Manager for the position a recipient of the alert, but also add the Role of SVP Human Resources since HR wants to be aware of rejected positions. | ||
10. | Click Save to complete the definition of this alert. Later in this chapter, you will add two field updates to close the position if it is rejected or to set the status to Open if it is approved. You can use the Field Update you already created for your workflow action to set the Status field to Closed for the rejection action. In this way, a single workflow action can be used many times in the different workflows and approvals. | ||
11. | Your final step in creating the approval is to click Activate. A dialog box informs you that you cannot edit an approval process once it is activated. There are many internal dependencies used within an approval process, so locking down the process makes sense. |
In the next section, you will modify this approval process, but before modifying the approval, you will see exactly how Force Platform approvals work.
3.144.106.150