Switch workflow activity
-
- UpdatedAug 3, 2023
- 3 minutes to read
- Vancouver
- Workflow
The Switch activity checks if the value of a passed field or variable is equivalent to one of several case values.
The switch activity behavior is similar to a switch statement in Java.
Results
The variable or field selected in the Variable or Field activity variable determines the possible result values.
Input variables
Field | Description |
---|---|
Type | Select Variable or Field as the type of value to check against available conditions. This selection sets the label and available options for the other field. |
Variable or Field | Select the source of the value compared against the switch activity conditions.
The field label and available options depend on the Type
selection.
|
States
Example


If the value of the Assigned to field of the workflow-triggering incident is Service Desk or Field Services, the workflow populates values on the incident record before continuing. If the Assigned to value is Hardware, the workflow continues without populating any field values.
