Branch by condition
- If the conditions are met, the Yes branch is selected.
- If the conditions are not met, the No branch is selected.
-
The Branch by condition action can only have two branches.
-
You can add a maximum of ten conditions.
Configure the Branch by condition action
-
Add the action to the designer and open the action configuration panel. For more information, see Add an action to the workflow.
-
Drag the Branch by condition action to where you want to branch.
-
Click the Branch by condition action.
-
Complete the condition fields:
-
For When, select the variable you want to evaluate.
-
For Operator, select an operator for comparing the variable to the value.
- For Value, specify a value for the comparison. You can insert a variable or type the value.
-
- Click Add condition to save the new condition.
Note: You can add a maximum of ten conditions. After you add ten conditions, the add condition button will no longer be available.
- For each additional condition you want to add:
- Click Add condition.
Complete the condition fields:
For When, select the variable you want to evaluate.
For Operator, select an operator for comparing the variable to the value.
- For Value, specify a value for the comparison. You can insert a variable or type the value.
- Click Add condition to save the new condition.
- Select any or all to determine how to evaluate the set of conditions.
Branch by condition fields, buttons, and links
| Field, button, or link | Description |
Variable |
|---|---|---|
| When | The variable that the operator compares with the Value. Example: in the condition 'money spent ≥ 1000', the When variable is money spent. Must be a variable. |
Text, Decimal, Boolean, DateTime |
| Operator |
How the When and Value are compared. Select from the drop-down. The operators available in the drop-down depend on the When variable type. Example: in the condition 'money spent ≥ 1000', the operator is ≥. |
(n/a) |
| Value | The text or variable that the operator compares with the When variable. Type to enter text. The variable type must match the When variable type. Example: in the condition 'money spent ≥ 1000', the value is 1000. |
Text, Decimal, Boolean, DateTime, Collection, File |
|
Add |
Adds the condition to the Branch by condition action. |
(n/a) |
|
all/any |
If you select
|
(n/a) |
|
|
Click to edit a condition. |
(n/a) |
|
|
Click to delete a condition. |
(n/a) |
|
Add condition |
Click to save a condition you are editing or add a new condition. When you add a new condition, use the any/all field to control how the condition is assessed. Note: You can add a maximum of ten conditions. After you add ten conditions, the add condition button will no longer be available. |
(n/a) |