Skip to main content

Switch Case

Description

Switch /Case is a step in the Flow Plugin for Process Studio Workflows. This step routes rows of data to one or more target steps based on the value encountered in a certain field. This is like the Switch/Case statement found in popular programming languages like Java

Configurations

No.Field NameDescription
1Step nameSpecify the name of the step as it appears in the workflow workspace. This name has to be unique in a single workflow.
2Field name to switchSpecify the field name that contains the value to use as a basis for the row routing.
3Use string contains comparisonEnable checkbox to send rows to the first step whose case
value is contained inside the field string value or in other words case value is found anywhere in the field being tested. If unchecked the value has to exactly match the field
4Case value data typeSpecify the data type of the values specified in this dialog
5Case value conversion maskSpecify the conversion mask of the values specified in this dialog (numeric / date values)
6Case value decimal symbolSpecify the decimal symbol of the values specified in this dialog (numeric values)
7Case value grouping symbolSpecify the grouping symbol of the values specified in this dialog (numeric values)
8Case valuesHere you can specify a value-target step pair, one per row. To specify a null value, simply leave the value column blank while entering a target step. Please note that it is possible to specify the same target step more than once.
9Default target stepSpecify a default target step. All the rows that don't match any of the case values above are sent to this target step.