Updated on 2023-12-28 GMT+08:00

Conditions

The conditioning processor is used to create condition branches to determine the execution logic of subsequent nodes. You need to configure the conditions of each branch on the connection line between the Conditions node and subsequent nodes.

Constraints

  • In a Conditions node, if there are multiple expressions of the same type that meet the When condition, the first created branch is executed.
  • In a Conditions node, only one branch of the Otherwise condition type is allowed.

Configuration Parameters

Parameter

Description

Condition Type

There are two condition types: When and Otherwise.

  • When: If the current condition is met, the branch is executed when the data transferred to the Conditions node meets the specified expression.
  • Otherwise: If other conditions are not met, the branch is executed when the data transferred to the Conditions node does not meet the conditions of all other branches.

Expression

Expression of the current condition branch.

As shown in Figure 1, the AND and OR logical operators in box 1 indicate the association between outer logical groups. Click Add Group in box 5 to add an outer logical group.

The logical operator in box 2 indicates the association relationship between inner logic groups. Click Add Associations in box 4 to add an inner logic group.

The drop-down list in box 3 indicates the logic of the value in the two text boxes. Options are equals, not equals, less than, not less than, larger than, and not larger than.

Figure 1 Branching conditions