The Switch or Case action is used to perform different actions based on different values of a common parameter. It is very similar to the JavaScript Switch statement.
The Switch Action is a good alternative to using multiple, nested, If/Then Actions.
When you insert the Switch Action, it is configured to switch based on the System Clipboard, but can be easily changed to other parameters. It initially looks like this:
For each Condition that you add, you can enter zero or more Actions that will be executed when that Condition is met. After those Action(s) are executed, or if no Conditions are met, the Switch Action is exited.
The Condition can be and of the following:
The Otherwise Condition will execute if none of the above Conditions are met. The Switch Action will then exit. So, the Otherwise Condition should always be placed as the last Condition in the Switch Action.