Condition
Similar to if-else
expression in a programming language, a conditional comparison operation determines the direction of the task flow.
Actions
If
When using conditional comparisons, the available comparison operations vary for each data type, and the currently supported comparison operations include:
Boolean
- Equal to (=)
- Not equal to (≠)
Number
- Equal to (=)
- Not equal to (≠)
- Great than (>)
- Great than or Equal to (>=)
- Less than (<)
- Less than or Equal to (<=)
String
- Equal to (=)
- Not equal to (≠)
- Contains
- Does not contain
Else
If the conditions in the If node of the corresponding hierarchy are not satisfied, the task will flow to the node in the Else block to continue execution.
Example
1. Add If node
Drag action Condition > If
to the task node list.
2. Configure If node
- Select the
Number
type from the drop-down box. - Enter
102
in the Source value box,100
in the Target value box, and selectGreat Than (>)
in the Operator drop-down box.
3. Add Else node
Drag action Condition > Else
to the task node list.
4. Add Message Box node
- Drag action
Attended Window > Message Box
to the block below the If node. - Type
true
in the Enter the message text box. - Drag action
Attended Window > Message Box
to the block below the Else node. - Type
false
in the Enter the message text box.