Create Check Escalation Values
A Check can have one or more Check Escalation Values.
Go to the Checks tab, select the relevant Check for which you want to create Check Escalation Values and go to the section “Related” and click on “New” for “Check Escalation Values”.
The following settings apply when creating a new Check Escalation Value:
Check Escalation Name: The name of the check escalation value.
Check: The check for which the check escalation value is relevant.
Condition: Greater than, Less than, Equal, Outside an interval, Inside an interval.
From: If the input falls outside the defined range, a Salesforce platform event is generated. In order to use the Range functionality, the Input Type in Check must be set to numeric.
To: If the input falls outside the defined range, a Salesforce platform event is generated. In order to use the Range functionality, the Input Type in Check must be set to numeric.
Single Value: Applicable if field “Condition” equals “Greater than”, “Less than” or “Equal”.
Error instructions
Error instructions allow you to show a popup to the user filling out the checklist in case the check escalation criteria are breached.
The popup will show the Check Escalation Name and the Error Instructions.
The checklist will show for which checks an escalation value has been inputted by showing a check or a warning icon. The high level progress bar for the checklist will be shown in green or red respectively.
Create custom logic with Check Escalation Values
Create a Platform Event - Triggered Flow and choose Platform Event: Checklist Range Breach
Retrieve the triggered Check Escalation Value records
The record ids of the different check range breaches are stored in field sfy24__EscalationValueIds__c in a sfy24__Checklist_Range_Breach_e record and separated by a comma. In Flow, you can separate them via our managed Apex Action “Split a string by a string”.
In order to retrieve the corresponding Check Escalation Value records simply add a Get Records element where the record Id is In the Text Collection variable defined in the “Split a string by a string” apex action.
Once you have the relevant Check Escalation Value records, you can create your own Flow logic.