flow
(required): The input flow that will be routed based on the integer selection.selection
(required): The integer value that determines which output the flow will be routed to. Default value is 0.default
: The default output flow if the selection
input does not match any of the configured cases.numCases
configuration.numCases
: The number of cases (integer values) the switch should handle. This determines the number of additional outputs the node will have.flow
input of the Switch on Int node.selection
input.numCases
option to specify how many different integer cases you want to handle.case0
, case1
, etc., based on the numCases
value.selection
input doesn’t match any of the configured cases, the flow will be routed to the default
output.selection
input.numCases
configuration to 3 to handle three age ranges: child (0-12), teenager (13-19), and adult (20+).default
, case0
, case1
, and case2
.case0
output to the nodes that handle the logic for children.case1
output to the nodes that handle the logic for teenagers.case2
output to the nodes that handle the logic for adults.default
output to handle any age values that don’t fall into the specified ranges.selection
input is connected to an integer value. If it’s not an integer, the flow will always be routed to the default
output.numCases
option to cover all the cases you need to handle. If you need to add more cases later, you’ll need to reconfigure the node and reconnect the outputs.selection
input is not connected or receives a non-integer value, the flow will always be routed to the default
output.numCases
configuration after connecting the outputs, you’ll need to reconnect them to ensure the flow is routed correctly.