When an approval is used, the completion status of the step is controlled by the approval or rejection of an assigned user. If a user approves the step, the step status is set to the status selected in the Approval Status field. If a user rejects the step, the step status is set to the status selected in the Rejection Status field. Approvals are only available for the Create Record step type.
During process execution, the approval appears on the generated step’s (i.e. Task) view screen. You do not edit the record to access the approval item. The record’s Status will automatically change to the appropriate value when the approval item is completed.
To create an Approval:
Create or edit a step with a step type of Create Record.
Select Approval in the Status Managed By field.
In the Step Approval Items section, set the Approval Status field to the status you wish the step to be set to upon step approval. This list is populated with Closed Status Values.
Set the Rejection Status to the status you wish the step to be set to upon step approval. This list is populated with Closed Status Values.
Set the Rejection Action to Continue if you wish for the step to follow a different path in the event of a rejection; set it to Stop Process if you wish for the process to stop upon rejection of the step. Choose Go Back to loop the process back to a prior Step or Stage; the lookups (Step and Stage) will appear when this option is selected and one or the other is required to be populated when choosing this option.
If you have configured a custom object as a step, a new custom lookup relationship field will need to be added to your custom object that looks up to the Approval object. The API name of the field needs to be approval__c. Also, in order to view the approval items on a custom object's page layout in Classic, a Visualforce page will need to be created and added to the page layout.
Add Approvals Lightning Component
If you customized your Task page layouts or Process Task page layouts in the Lightning App Builder, you will need to manually add the Approval Item Lightning component to your Lightning Pages.
You can also add a Lightning Component to your Process Object to manage all related Approvals. For more information, see Use a Lightning Component to Manage Approvals for a Process Object.