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:
: select the events variable among all variables that are available in the workflow (see this page).
For example, you can check the number of downloaded files after a File transfer activity using the filesCount variable.
: edit expressions combining variables and functions. For more on the Expression editor, refer to this section.