Navigation:  Reference > Flow Controls > Branching >

Switch Branching

Previous pageReturn to chapter overviewNext page

Switch Branching has one input route and multiple output routes, it will check the value of an expression, and decide which route to go.

After selecting the "Switch Branching" item from the "Add Flow Control" menu, you will see the editor like this:


You can define as many cases as you need, each case will be one output route.  When adding case, you can insert property in the case expression, and you need to specify the value type of the expression (string or number).


Here is an example of how switch branching is used: