Flow: How To Use “Decision”

Decision is the “if/then” method of flow. If you want to set several paths in one flow, Decision element will be needed.

Decision configuration page
1. Outcome Order

You can add new Outcomes (Paths) here. Note that the system will evaluate the Outcomes from the top and execute only the first outcome with met criteria.

2. Default Outcome

If none of the criteria sets in the Outcomes is met, the Default Outcome will then be executed. You can also change the name so it is easier to read the flow.

Decision Outcome
3. Outcome Details – Condition Requirements

Similar as the report filtering, here you can specify either all, any, or custom criteria should be met. When you choose custom, you have to use “AND” or “OR” to connect the criteria.

Decision Criteria
4. Outcome Details – Conditions/Criteria

Similar to Assignment element, so reference this article.

5. When to Execute Outcome

If you are building a record-triggered flow, you will see an extra option under conditions. This is similar to the setting in Workflow and Process Builder.

Decision - When to execute outcome
WorkflowProcess builderFlowExplanation
Evaluation Criteria:
Created, and every time it’s edited
Under each node > Advanced >
Do you want to execute the actions only when specified changes are made to the record?:
If the condition requirements are metAs long as the criteria is met, the automation will be triggered every time the record is edited
Evaluation Criteria:
Created, and any time it’s edited to subsequently meet criteria
Do you want to execute the actions only when specified changes are made to the record?:
Only if the record that triggered the flow to run is updated to meet the condition requirementsThe automation will only be triggered at the first time the criteria is met

After you configure everything, you can have a Decision element with several paths to continue the flow.

Check Out How Decision Can Be Used In Real Cases!
Use Case: Create an Easy Login Flow
Do you want to enforce the entry of certain user ...
Read More
Use Case: Clone Any Objects with Related Lists with Flow
"Clone with related" is an amazing feature which sadly is ...
Read More
Use Case: Formula In Matching Rule With Before-Save Trigger
Have you one of the voters of this idea and ...
Read More
Use Case: Simple Counter Example in Flow
Earlier we have published the how-to guides on Loop and ...
Read More
Use Case: Create Custom Roll-Up Summary With Flow
I have really mixed feelings about the roll-up summary field ...
Read More
Use Case: Update Contact After Logging Emails Or Calls
When I was a Salesforce admin, people asked me many ...
Read More
Use Case: Clone Assets To Opportunity Products
I received this case to auto-create Opportunity Product or Quote ...
Read More
Use Case: Auto-Generate Multiple Lines Of Opportunity Product
* Updated at Mar. 25, 2021. The original flow is ...
Read More

Official Salesforce Help Article On Decision

Notify of
Inline Feedbacks
View all comments