Defining Dispatching Rules
To define a dispatching rule and next step:
-
Condition: Enter a JavaScript expression to be evaluated. If
there is only one possible next step, just enter "true".
If your condition requires values from multiple data providers, you can access these values using the predefined variables
process
orstep
.Example:
$.get('uid') || process.get('myDataProvider.uid')
- Click
(Add).
-
Source: Select the data provider containing the values used by
the condition. Available data providers:
- Constant Value
- Process Storage
- Input Message
- Step: For commands you must always select "Step".
- custom data providers
- Next Step: Select or create the step to be called if the dispatching condition is met, >> Defining Steps.