🛣
Logic
If this else that
The Logic node is a powerful feature of the flow editor. It can be used to perform complex conditional logic which determines the flow's execution path.
This represents the value or variable being compared on the left side of the comparison operator. The value can be any data type or expression.
This is the value that is used to perform the comparison between the left and right expressions. The operator can be one of the following:
- equals
- does not equal
- in
- is not in
- greater than
- less than
- greater than or equal to
- less than or equal to
This represents the value or variable that is being compared on the right side of the comparison operator. The value can be any data type or expression. For some operators like "in" or "is not in", the right expression is expected to be a string or list.
This is the operator that is used to combine multiple comparison statements. It can be either "AND" or "OR".
Option | Description |
---|---|
AND | All the individual comparison statements must be true for the overall comparison to be true. |
OR | At least one of the individual comparison statements must be true for the overall comparison to be true. |
Returns the current dataset.
- Logic nodes can be chained together to perform If, else if, else if, else logic.
Last modified 8mo ago