The Test activity enables a transition based on a test result.
A Test activity activates the first transition that satisfies the condition associated to it.
If no condition is satisfied and if the Use default transition option is activated, a default transition will be activated.
Conditions can be based on functions, or on variables, for example events variables that have been declared into the workflow’s External signal activity.
Drag and drop a Test activity into the workflow.
Select the activity, then open it using the button from the quick actions that appear.
Define each condition’s attributes:
When editing the Condition field, two buttons provide help to call events variables and edit expressions combining variables and functions: