Conditional node

The Conditional node evaluates a condition and directs the flow based on the evaluation result. If the condition is true, the execution will proceed to the first adjacent node in the graph; If the condition is false, the execution will proceed to the second adjacent node in the graph.

Inputs

  • condition:

    • Description: The condition that has to be evaluated by the node. It must be a series of values and string logical operators in between values. The values will be compared using the operators following logical operators precedence. If a value has to be the output of another node, it must be added to the condition as a reference to the other node.

    • Allowed types: Condition (a list of values and logical operators)

    • Default value: None

Output

  • Description: The evaluation of the condition.

  • Type: True/False

Tags

  • execution control

Last updated