Setting up an Approval Process for Skills and Certifications
You can set up an approval process for new or updated skill or certification ratings. To do this, you must:
- Set up an approval process.
- Create a flow to trigger the approval process whenever a skill or certification rating is created or edited.
Creating an Approval Process
To create an approval process for skill or certification ratings:
- From Setup, click Process Automation | Approval Processes.
- Select "Skill or Certification Rating" from the Manage Approval Processes For drop-down.
- Click Create New Approval Process | Use Jump Start Wizard
- Enter a name for the approval process. For example, Approve Skill or Certification Ratings.
- Deselect the Add the Submit for Approval button and Approval History related list to all Skill or Certification Rating page layouts checkbox. A flow will be used to trigger the approval process instead of the button. You can add the related list to the page layout after creating the approval process.
-
For the entry criteria, specify the following:
- Select "Skill or Certification Rating: Approval Status" from the Field drop-down.
- Select "equals" from the Operator drop-down.
- Enter Submitted in the Value field.
- Specify an approver.
- Click Save, then OK.
- Click View Approval Process Detail Page.
- In the Final Approval Actions section, click Add New | Field Update.
- Enter a name for the approval action. For example, Set Approved Status.
- From the Field to Update drop-down, select "Approval Status".
- In the Specify New Field Value section, select Approved" from the A specific value drop-down.
- Click Save.
- In the Final Rejection Actions section, click Add New | Field Update.
- Enter a name for the rejection action. For example, Set Rejected Status.
- From the Field to Update drop-down, select "Approval Status".
- In the Specify New Field Value section, select "Rejected" from the A specific value drop-down.
- Click Save.
- Click Activate.
- [Optional] Add the Approval History related list to the relevant Skill or Certification Rating page layouts.
Creating a Flow
Using Salesforce flows, you can automate the approval process for skill and certification ratings. The following steps describe how to create a flow that does the following:
- Triggers the flow when a skill or certification record is created or updated.
- Updates the Approval Status field on the skills or certification rating to "Submitted".
- Submit the skill or certification rating for approval using the approval process created in the previous section.
To create a flow to trigger the approval process when a skill or certification rating is updated:
- From Setup, click Process Automation | Flows.
- Click New Flow.
- Select Start From Scratch.
- Click Next.
- Select Record-Triggered Flow.
- Click Create.
- In the Object field, search for and select "Skill or Certification Rating".
- In the Configure Trigger section, select A record is created or updated.
- In the flow builder, add a new Update Triggering Record element to the flow.
- Enter a label for the action. For example, Update Status.
- In the Set Field Values for the Skill or Certification Rating Record section, from the Field drop-down, search for and select "pse__Approval_Status__c".
- In the Value field, search for and select "Submitted".
- In the flow builder, add a new Action element to the flow.
- Click Approvals | Submit for Approval.
- Enter a label for the action. For example, Submit for Approval.
- In the Record ID field, search for and select "Triggering pse__Skill_Certification_Rating__c", then "Record ID".
- Click Save.
- Enter a name for the flow. For example, Skill and Certification Rating Approval Trigger.
- Click Save.
- Click Activate.
SECTIONS