- 24 Sep 2021
- 2 Minutos para leer
- Colaboradores
- Impresión
- OscuroLigero
Decision
- Actualizado en 24 Sep 2021
- 2 Minutos para leer
- Colaboradores
- Impresión
- OscuroLigero
Definition
This action will automatically evaluate the information received, based on the comparisons established between different sources, then proceed to affirm it is True or False. The action will be set up to follow different paths depending on the result of the comparisons.
Instructions
Drag and drop the Decision action from the list on the left into the diagram, under the correspondent “+” icon.
Decision
Customize the name and description of the action on the Step Properties panel to the right.
Customize the labels for the True and False options.
Configure
To set the comparisons used to execute the action, click on Configure.
Click on + New Row to start building the conditions.
Select the first Data Source of your comparison line.
- WF Variable: Variables created inside the Workflow you are working on
- Data View: Compare it with a specific column of a Data View
- Data Set Variable: This option will only be available if the Action is inside a Loop
Select the correspondent Variable or Data View.
Select the type of comparison you want to apply between sources.
The comparison options available on the drop-down list will be subjected to the type of data contained on the first field.
- = : Equal
- <> : Not Equal
- > : Greater Than
- < : Less Than
- >= : Greater Than or Equal
- <= : Less Than or Equal
- Range
- contains
- notcontains
- begins with
- ends with
Select the second source for comparison.
- WF Variable: Variables created inside the Workflow you are working on
- Data View: Compare it with a specific column of a Data View
- Value: Compare it with a specific value
Select the correspondent Variable, Data View or type in the Value.
- You can add more comparison lines by clicking on the + New Row and remove them by selecting it on the left side of the item and clicking on Remove Row.
Operators
When more than one line of comparison is added, they can be separated with operators in order to indicate the server exactly what needs to be searched and compared, as well as in which order.
- And: all comparisons, or set of comparisons, followed by AND need to be TRUE in order for the query to be TRUE
- Or: if at least one of the comparisons, or set of comparisons, followed by OR is TRUE, the query will be TRUE
- Parenthesis: are available in case you need to set priority between the different lines or set of lines. Once you open parenthesis at the beginning of a line, it needs to be closed at the end of the same line or at the end of the group of lines you would like to prioritize.
After all comparisons have been established, click on Save to commit the changes and return to the workflow diagram.