VariableExistsDecisionHandler

Description

Decides which path should be taken at a “fork in the road” based on if a variable is present (filled). For this, one possible transition must be designated as false (not available, empty), and the other designated as true (available, filled).

The ActionHandler VariableExistsDecisionHandler is placed directly on an XOR decision node.


Class

com.dooris.bpm.actionhandler.VariableExistsDecisionHandler

 

Parameter

Parameter

Default value

Description

Valid examples

Parameter

Default value

Description

Valid examples

variable

 

Here, the name of the variable used to choose the path is entered. The existence of the variable must be used to select the correct path.

 

 

Example:

In this example, we have a part of the swimlane from the purchasing workflow. Actionhandler is configured at the 'Order ID existing?' decision node.

The decision variable is the orderID from the form. If the orderID exists, the workflow will go on to “Finalize and send order” node. Otherwise, “Create Purchase Order ID” node will be processed.

Parameter

Example Value

Parameter

Example Value

variable

orderID

Output Parameters in the decision node:
Yes
No

Yes=true
No=false