Config
...
Overview
The Decision action introduces logic into the workflow by making choices based on predefined conditions.
It’s essentially a control mechanism that dictates the flow of the process by evaluating certain conditions. If a condition is met, one branch of the workflow is followed; if it is not, a different path is taken.
This action is crucial for workflows that need to react differently under various scenarios.
Panel | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
For example, the workflow might check if a account is active or not and then perform different tasks accordingly. |
The Decision action enables workflows to behave dynamically and intelligently, ensuring appropriate responses to different inputs or situations.
Let’s explore the screens that follow, after drag-n-drop of Decision action on workflow canvas.
Config
...
After clicking on +
button, following screen for specifying decision condition opens up.
...
Condition | Description | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Destination Type | It defines the target location, where the decision condition will be mapped with. Note: By default, the Destination Type is model. Other options include variable, cookie key, and local storage key.
| |||||||||||
Model | When you select Note:
| |||||||||||
Field | It defines the exact field or variable where values will be stored for mapping. Note:
| |||||||||||
Note: The following fields, namely Operator, Source Type, and Value, are disabled until you fill in the above 3 condition fields. | ||||||||||||
Operator | It is specifically operator value such as Equals, Not Equals, In, Starts With, Ends With, Contains. | |||||||||||
Source Type | It defines the data which will be mapped for decision with destination field chosen earlier. Note: By default, the Source Type is Static. Other options include Model, Variable, Cookie Key, Local Storage Key, User, Null, and Blank.
| |||||||||||
Value | The available options will change depending on the selected source type.
|
...