You are here:
Configure the Trigger Application Approval Flow
Use the Trigger Application Approval flow template to automate the application approval process in your org.
See the Trailhead module, Flow Builder Basics.
- From Setup, in the Quick Find box, enter Flows, and then click Flows.
-
In the list of flows, click Trigger Application Approval.
The selected flow opens in Flow Builder.
-
To edit the fields that are validated for an individual application, click the Validate Application element, then click Edit Element.
The template accepts Individual Application objects that have the Id field set to the ApplicationId, the status field set to Submitted, and the category field set to Program.Tip For the "No" sections of the decision elements, you can trigger an email with customized error messages. To know more, see the Trailhead module, Data and Actions in Flows.The Get first Application Item and Get ProgramProduct elements fetch the Application Item and ProgramProduct records, respectively. The Validate Program is Active elements fetch the ProgramID record and check if the program is active.
-
To pass a value as an input to an expression set, create an Action element that invokes your expression set.
The Call Approval Rule action element passes the value Validate_Program.name to the Utilities Application Approval Rule expression set. The expression set then fetches an output from the Utilities Application Approval DM decision matrix based on the program. The output from the expression set is used in the AutoApprove decision element.
-
Automatically approve or reject an application:
- Click the AutoApprove decision element, and then click Edit Element.
- In the conditions of the outcomes, set the resource field to the output variable from the expression set.
-
Set the value field to the possible values of the variable.
For example, for the AutoReject outcome, set the value to AUTO_REJECT.
-
Update the status of the automatically approved or rejected record.
- Click the Reject Application element or Approve Application element, and then click Edit Element.
- To specify the record to be updated, set the Object to Individual Application, and then filter the records based on the Individual Application ID stored in the Validate Application element.
- Set the Status field to either Approved or Rejected.
-
Send an application for approval.
- Click the Get Action Plan Template element, and then click Edit Element.
-
Fetch the action plan template name from the expression set.
The Utilities Application Approval Rule expression set sets the action plan template name in the APT_Name variable.
- Click the Create Action Plan element, and then click Edit Element.
- In Object, enter Action Plan, and then set the field values for the action plan.
- To start an approval process for the application, create an Action element that passes the individual application ID to your configured approval process.

