Skip to content

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

  1. Select the Number type from the drop-down box.
  2. Enter 102 in the Source value box, 100 in the Target value box, and select Great Than (>) in the Operator drop-down box.

If Numbers Comparison

3. Add Else node

Drag action Condition > Else to the task node list.

4. Add Message Box node

  1. Drag action Attended Window > Message Box to the block below the If node.
  2. Type true in the Enter the message text box.
  3. Drag action Attended Window > Message Box to the block below the Else node.
  4. Type false in the Enter the message text box.

If Inner Message Box