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 5 Next »

Routes are links between Actions and Tasks to build relation within process diagram.

You can draw multiple routes from single action to multiple tasks to split workflow in more than one branches. If no route found or all routes are invalid workflow is automatically terminates.

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

Instructions
If specified replaces next task instructions with entered instruction. This property is useful when override the default task instruction. For example an "Reject" action may change next task instructions with approve task.

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

Sample Validation Rule

Route Validation with a Decision Table

Following decision table specifies the route is valid if form field "Department" is set to "Sales" or "Accounting" value. All other values are invalidates the route.

Route Validation with Expression

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

If FEEL expression is preferred expression can be specified as;

Same expression also can be written as javascript expression as following;

 

  • No labels