Switch <Int32>
This activity enables to select one choice out of multiple based on the value of the specified expression. The Switch <Int32> activity uses the integer expression. Labels are literals (no “ or ‘ characters). If there is no match, default options executed.
This activity is meant to be used mainly in Sequence activity.
Let’s say that Wizlink® helps you memorizing the multiplication table. There is only one correct answer to a question “9x6=?”. So only one case (54) returns comment “right”, all other answers (cases) return the default comment “wrong”.
Parameter name | Parameter Type | In/Out | Description |
---|---|---|---|
DisplayName | Literal | Input | you can change the name of activity for greater clarity of the scenario |
Expression | Int32 | Input | Int32 variable or expression |
Key | Int32 | Input | case value (Int32) |