Decision - Variable based

Decision - Variable based

A variable-based decision is a way of branching the workflow based on the value of an existing variable within the workflow. This workflow object runs silently and automatically moves to the next appropriate workflow step based on the evaluation of the variable.

workflow variable branch

Silent workflow object This workflow object runs silently, meaning it has no user interaction. Silent workflow object are displayed with this icon.

Use

Select the Decision based on a variable option from the Variable menu

Configure the screen with appropriate values and click OK

The Variable-based decision will appear on the workflow designer with one input and 2 outputs. Connect the input to the preceding workflow object. The outputs are used in the following manner:

Green tick: This is the positive result of the variable evaluation. Connect this node to the workflow step that should be run when the variable evaluation is true

Red cross: This is the negative result of the variable evaluation. Connect this node to the workflow step that should be run when the variable evaluation is negative

See Also

User-based decisions - Showing a message box to the user

Decision - Script / Data based

Workflow Objects