Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Mapping Routes to Plugins

  1. By clicking on a Route in the Process Mapper, it will open up the Map Routes to Plugins.
     Image Removed
    In Map Routes to Plugins, you can map routes defined in the process to plugins. Select the Simple Rules Decision plugin. 
    Image Removed

    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.

    Info
    titleRoutes

    Learn more about  Process Routes .

  2. Once a workflow variable has been defined, hover over on a transition and click on the edit icon to open the transition dialog.
  3. 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".
  4. By clicking on a Route in the Process Mapper, it will open up the Map Routes to Plugins.
     Image Added

  5. In Map Routes to Plugins, you can map routes defined in the process to plugins. Select the Simple Rules Decision plugin. 
    Image Added

  6. In the plugin configuration,click on Add Rule and then click Add Condition. Set the Variable field to status and set the Value field to Approved. The variable status is referring to the workflow variable
    Image Added

  7. In the THEN rule, click on Add Action and set Type to Transition  and set Transition to transition3 (Send Approved Email). This means that this transition will occur if the value of status is "Approved".
     Image Added
  8. In the ELSE THEN rule, Set the Type to Transition and set Transition to transition4 (Send Rejected Email) to 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:
    Image RemovedImage Added

Test Driving the Process

...