Help files

Switch-Case

Switch marks the beginning of a switch block. Unlike if-else or else-if conditional statements, a switch block can address a number of possible execution paths. A switch statement is a type of selection control mechanism used to allow the value of a variable or expression to change the control flow of your scripts via a multiway branch:

switch-explained.png

Case specifies a condition on an existing Switch block and marks the beginning of a sequence of actions that will be executed if the conditional evaluates to true.

add-queue-item-process.png

The end of this sequence of actions is marked by the complimentary to Case, End Case action.

End Switch marks the end of a Switch block.