Switch <String>
This activity enables to select one choice out of multiple based on the value of the specified expression. The Switch <String> activity uses the string 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.
![v2_switch-string v2_switch-string](https://docs-2.wizlink.eu/wp-content/uploads/2022/07/v2_switch-string.jpg)
Let’s say that this is your weekly schedule – you name the day and this scenario reminds you about all activities (besides work) – e.g. about every yoga class or driving lessons you participate. But today is Saturday! – and Wizlink returns default comment.
Acquired Text | String | Output | text input by user |
---|---|---|---|
Display Name | Literal | Input | changes display name of the activity |
Expression | String | Input | string variable or expression |
Key | String | Input | case value (String) |