...
- By clicking on a Route in the Process Mapper, it will open up the Map Routes to Plugins.
Image Added
- In Map Routes to Plugins, you can map routes defined in the process to plugins. Select the Simple Rules Decision plugin.
Image Added
To handle routing (for example approval conditions), use Routes in combination with workflow variables. To create a workflow variable, double click on the process name in the Navigator to bring up the process dialog. Click on the first small icon under the Workflow variable heading, and key in the ID of the variable e.g. status.
![](/community/download/attachments/66816176/worddav1128ee9986c34af9d5b329a8223d8da9.png?version=1&modificationDate=1428645532000&api=v2)
- Once a workflow variable has been defined, hover over on a transition and click on the edit icon to open the transition dialog.
![](/community/download/attachments/66816176/pb-condition-set.png?version=1&modificationDate=1488374666000&api=v2)
- In the transition dialog, select type Condition, select the variable status in Variable and key in Approved into the Value field*.* This means that this transition will occur if the value of status is "Approved".
![](/community/download/attachments/66816176/pb-set-condition.png?version=1&modificationDate=1488375206000&api=v2)
- Set the transition type to Otherwise to indicate that it is the default path to take when other conditions are not met. The Otherwise transition is shown in orange. An example of a simple routing process is as shown below:
![](/community/download/attachments/66816176/pb-condition.png?version=1&modificationDate=1488374507000&api=v2)
...
...