Conditions
Conditions determine whether subsequent actions in a Flow are performed.
Condition Types
The Automation module supports the following condition types and operators for each field type.
- If - Evaluates a single field against an operator and a comparison value.
- AND - OR - Combines multiple field conditions using AND and OR logic.
Add a Condition
Use the flow canvas to control when trigger actions run.
-
Drag and drop a condition onto the flow canvas, under a trigger.
-
For either condition type:
a. Select a field from the trigger's dataset.
b. Select an operator. The list of available operators depends on the data type of the selected field.
c. Provide a comparison value.
Operators for Date Fields
When a condition is applied to a date column, you can set any of the following date groupings:
- Full Date
- Year
- Quarter
- Month
- Week
- Day
For more information, see Date Grouping.
Date fields support the following operators.
| Operator | Description |
|---|---|
| Equals | Matches an exact date. |
| Does Not Equal | Excludes an exact date. |
| Between Inclusive | Matches dates within a range, including the start and end dates. |
| Is Null | Matches records with no value in the field. |
| Is Not Null | Matches records that have a value in the field. |
| Before | Matches dates earlier than the comparison date. |
| Before or On | Matches dates earlier than or equal to the comparison date. |
| After | Matches dates later than the comparison date. |
| After or On | Matches dates later than or equal to the comparison date. |
These operators are available in both the If and AND - OR conditions, for Flows built in Composer and in embedded scenarios.