Flow Control

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.

switch_string

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.

Parameter nameParameter TypeIn/OutDescription
DisplayNameLiteralInputyou can change the name of activity for greater clarity of the scenario
ExpressionStringInputString variable or expression
KeyStringInputcase value (String)