Create an If conditional expression in order to dynamically determine which nodes should be executed based on the outcome of a given condition:
If(criteria expression, outcome if true, outcome if false)
- Click here to learn more about If conditional expressions.
Use the switch node to create a conditional switch expression. Switch expressions are used to create a conditional execution path to determine which parts of the flow should be executed, based on whether or not values returned match the given input:
Switch(variable value, case 1, statement 1, case 2, statement 2 .... case n, statement n, optional default statement)
- Click here to learn more about switch expressions.