You are here:
Decision Flow Approval Processes Resource
Evaluate a set of conditions, and then route users through the flow approval process based on the outcomes of those conditions. This element performs the equivalent of an if-then statement.
Required Editions
| View supported editions for Flow Approval Processes. |
| field | Description |
|---|---|
| Label | Identifies the name for this element on the canvas. |
| API Name | The requirement for uniqueness applies only to elements and resources within the current flow approval process. Two items can have the same API name, provided they're used in different flow approval processes.An API name can include underscores and alphanumeric characters without spaces. It must begin with a letter and can't end with an underscore. It also can't have two consecutive underscores. |
| Description | A description of what the element does within the flow approval process. |
Select Decision Logic
Select the method that the Decision element uses to determine which outcome to run.
| Method | Description |
|---|---|
| Define Manually (Default) | Define logic to evaluate explicitly defined data from your flow approval process and determine which outcome runs. Outcomes for a Decision element with manually set conditions are evaluated in the order that they’re listed. Therefore, the order that you define your outcomes in can impact the outcome that the orchestration run associated with the parent approval submission takes. |
| Define with AI (Advanced) | Write instructions for AI to dynamically evaluate data from your flow approval process and determine which outcome runs. Outcomes for a Decision element with AI conditions are evaluated simultaneously. Therefore, the order that you define your outcomes in has no impact on the outcome that the orchestration run associated with the parent approval submission takes. |
Describe the Decision
This section is shown when you select Define with AI (Advanced).
| Field | Description |
|---|---|
| Decision Instructions | A description of what decision the element is making. Include resources from the flow approval process to improve AI accuracy. |
Outcomes for Define Manually (Default)
For each path that the flow approval process can take, create an outcome. For each outcome, specify the conditions that must be met for the orchestration run associated with a parent approval submission to take that path. To relabel the path to take if no outcome’s conditions are met, click Default Outcome.
| Field | Description |
|---|---|
| Outcome Label | Identifies the connector for this outcome on the canvas. |
| Outcome API Name | The requirement for uniqueness applies only to elements and resources within the current flow approval process. Two items can have the same API name, provided they're used in different flow approval processes.An API name can include underscores and alphanumeric characters without spaces. It must begin with a letter and can't end with an underscore. It also can't have two consecutive underscores. |
| Condition Requirements to Execute Outcome | Determines whether the flow approval process takes this outcome’s path. Sets logic and conditions for each outcome that determine if the flow approval process follows its path. |
| When to Execute Outcome | Available on record-triggered flow approval processes. Determines whether this outcome’s path is taken based on whether the triggering record is updated to meet the condition requirements. |
Outcomes for Define with AI (Advanced)
For each path that the orchestration run associated with the parent approval submission can take, create an outcome. For each outcome, enter information that tells AI when to take the outcome. To relabel the path to take if AI determines that no conditions are met, click Default Outcome.
| Field | Description |
|---|---|
| Outcome Label | Identifies the connector for this outcome on the canvas. |
| Outcome API Name | The requirement for uniqueness applies only to elements and resources within the current flow approval process. Two items can have the same API name, provided they're used in different flow approval processes.An API name can include underscores and alphanumeric characters without spaces. It must begin with a letter and can’t end with an underscore. It also can’t have two consecutive underscores. |
| Outcome Instructions | An explanation that tells AI when to take the outcome. Include resources from the flow approval process to improve AI accuracy. |
Usage for Manual Conditions
When a decision element offers two possible outcomes, the default outcome is only followed if the conditions for the first outcome aren’t met.
If a decision element has more than two possible outcomes, the system evaluates them in the order they’re listed. For each outcome:
- Its conditions are checked.
- If the conditions are true, the path associated with that outcome is run.
- If the conditions are false, the system moves on to evaluate the conditions of the next outcome in the list.
If none of the defined outcome conditions are met, then the default outcome path runs.
Usage for AI Conditions
AI Decision isn't supported for record-triggered flow approval processes.
At run-time, the decision instructions are combined with all outcome instructions, and AI determines which outcome to take. Because AI evaluates all conditions simultaneously, the order that you define your outcomes in has no impact on the outcome that the orchestration run associated with a parent approval process takes.

