You are here:
Define Conditions in a Wait Element
Control when a flow waits for a specific resume event.
Required Editions
| View supported editions. |
| User Permissions Needed | |
|---|---|
| To open, edit, create, activate or deactivate a flow using all flow types, elements, and features available in Flow Builder, including Einstein and Agentforce for Flow: | Manage Flow |
Before you begin, add the Wait element to your flow..
-
Identify the logic between the conditions.
Option Behavior Always Wait—No Conditions All Conditions Are Met If one of the conditions is false, the flow doesn’t wait for the associated resume event. Any Condition Is Met If one of the conditions is true, the flow waits for the associated resume event. Custom Condition Logic Is Met When you select this option, provide the condition logic by entering up to 1000 characters. Use:
- Numbers to refer to each condition
- AND, OR, or NOT to identify which combination of conditions must true
- Parentheses to group parts of the string together
If you enter AND, it’s the same as if you selected All Conditions Are Met. If you enter OR, it’s the same as if you selected Any Condition Is Met. If you enter any other logic, make sure that you include a number for each condition.
For example, for 1 AND NOT(2 OR 3), the flow evaluates whether the first condition is
true, and the second or third condition isfalse. -
Define conditions.
At run time, the conditions are evaluated in the order you specify.
Column Header Description Resource Flow resource to evaluate the value of. Operator The available operators depend on the data type selected for Resource. Value Resource and Value in the same row must have compatible data types.
Options:
- Select an existing flow resource, such as a variable or screen component.
- Create a resource.
- Manually enter a literal value or merge field.
When you add or subtract a number from a date value, the date adjusts in days, not hours.

