Task Routing

Workgroup Routing

MDW users can belong to one or more Workgroups (sometimes referred to simply as Groups or User Groups) for the purpose of queueing or "bucketizing" Manual Task instances.

Task instances can be dynamically routed to appropriate workgroups based on based on runtime criteria such as Due Date and Priority. The starting point for this routing is the task/workgroup relationships specified in the task definition (or Task Template). By default task instances are associated with the group(s) spelled out in the template. However, this default behavior can be overridden by specifying a Task Routing Strategy on the Workgroups tab for a task in MDW Studio:


Strategies are provided in the form of Java classes that implement the RoutingStrategy interface. One routing strategy implementation is provided as a built-in with MDW: To select a pre-built routing strategy, use the dropdown on the Manual Task activity Workgroups tab (see screenshot above). For a completely custom strategy, simply type your fully-qualified implementor class name in the same combo box. However, a high degree of customization can be achieved through the prebuilt rules-based strategy.

The task Due Date and Priority values are available as inputs to your rules-based or custom strategy. Task template attributes and indexed process variable values are also available as inputs (through the getParameters() method).

Assignment

After workgroup routing, the next stage in the manual task lifecycle is usually assignment, whereby a task instance is assigned to a particular individual for completion (see flow diagram below). The Task Manager webapp provides a user interface for users to manually assign or claim tasks individually or in bulk. However, the assignment step can be automated as well by specifying an Auto-Assign Strategy (see screenshot above). As with routing, the strategy implementor for auto-assign can be a custom Java class, or one of the MDW built-in options: