Skip to main content
Version: 6.1

Switch Case

This node is a conditional node in the workflow that allows users to define custom logic using a script. When the script is executed, it evaluates conditions and returns an integer value (either 0, 1, or 2). Based on the returned value, the node directs its input to the corresponding output port.

Conditional Routing:

  • If the script outputs 0, the input is passed to Option1 output part.
  • If the script outputs 1, the input is passed to Option2 output part.
  • If the script outputs 2, the input is passed to Option3 output part.

You can find a more detailed documentation in Scripting Documentation.