Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Current »

Routes are the links between Actions and Tasks which build relations within the process diagram.

You can draw multiple routes, from a single action to the multiple tasks to split workflow in more than a one branch. If no route is found, or all of the routes are invalid, workflow is automatically terminated.

For a route you can configure the following properties from the context menu:

Instructions
If specified, replaces the next task instructions with the provided instruction. This property is useful if you want to override the default task instruction. For example a "Reject" action may change the next task instructions with the approve task.

Validation Rule
Validation rule specifies the route is valid as a next task in the process. Rule content can be a Decision Table or a scripting expression. Route is assumed as valid if not any condition is defined.

Sample Validation Rule

Route Validation with a Decision Table

Following a decision table specifies the route is valid if form field "Department" is set to a "Sales" or an "Accounting" value. All of the other values invalidate the route.

Route Validation with an Expression

Validation rule can also be written as an expression. Expression language specifies how the content will be interpreted.

If FEEL expression is preferred expression can be specified as;


Same expression can also be written as a javascript expression, as following:


  • No labels