Switch

Switch



Use context menu or action toolbox to add Switch action to workflow scheme.

  • Click on the area with (Edit) icon on the scheme and:
  • Select category Logic and Flow;
  • Choose Switch.
  • In action toolbox:
  • Select category Logic and Flow;
  • Drag and drop Switch action to the area with (Edit) icon on the workflow scheme.


Open action configuration dialog to edit action properties:

  • Open action context menu on the scheme and choose Edit;
  • Or double click the action on the scheme.


Use configuration dialog to edit action properties:

Property Description
Title Defines action title.
By default the title is action type name.
Expression The expression is resolved and compared with each case name at action runtime.
The workflow will enter the case which name is equal to expression result. If no cases are equal to expression result, the workflow will enter Default case (if exists).
Lookups are available for this property.
Cases Use to manage cases, their names and order.
At least two cases must be created.
Default If no cases are equal to expression result, the workflow will enter Default case. If Deafult case is not set, the workflow will continue to the next action.
Name Name of the defaut case.

Switch with two branches:

Switch with default branch:

  • Workflow runs the only one branch that satisfies the expression.
  • Deleting a branch deletes all nested actions.

Contents