Conditional split
The conditional split block allows you to route your flow based on specified conditions. For instance, you can split the flow using a conditional operator that compares two variables.
Operators
- Less than: Checks if the first value is less than the second value. Only works when both values are numbers.
- Less than or equal: Checks if the first value is less than or equal to the second value. Only works when both values are numbers.
- Equal: Checks if the first value is equal to the second value. Works on all variable types.
- More than: Checks if the first value is more than the second value. Only works when both values are numbers.
- More than or equal: Checks if the first value is more than or equal to the second value. Only works when both values are numbers.
- Not equal: Checks if the first value is not equal to the second value. Works on all variable types.
- Includes: Checks whether the first value includes the entirety of the second value. Both values will be converted to text for comparison.
- Does not include: Checks whether the first value does not include the entirety of the second value. Both values will be converted to text for comparison.
- Matches regex: Checks whether the first value matches the regex provided in Value B.
Properties
Option | Description | Required |
---|---|---|
Value A type | The type of the first value to be used in the condition. Can be either an existing flow variable or a custom value. | Yes |
Value A | The first value to be used. When the type is set to variable , this should be the name of the variable. When the type is set to custom , this should be the direct value. | Yes |
Value B type | The type of the second value to be used in the condition. Can be either an existing flow variable or a custom value. | Yes |
Value B | The second value to be used. When the type is set to variable , this should be the name of the variable. When the type is set to custom , this should be the direct value. | Yes |
Operator | The operator to be used for comparing the two values. | Yes |
Updated 5 months ago