Stopping Routing of a Task to Further Participants

You can specify conditions under which a task can be marked complete early, regardless of the other participants in the workflow.

For example, assume an expense report goes to the manager, and then the director. If the first participant (manager) rejects it, you can end the workflow without sending it to the next participant (director).

To abruptly complete a condition:

  1. Click Early Completion.
  2. Select the Complete task when a participant chooses: <outcome> check box.

    The Abrupt Completion Details screen appears. There are two methods for specifying the abrupt completion of a task:

    • Outcomes

    • XPath expression routing condition

    If outcomes are specified, any time the selected task outcome occurs, the task completes. If both outcome and routing condition are specified, the workflow service performs a logical OR operation on the two.

  3. Select appropriate outcomes and click the > button, as shown in Figure 29-39. To select all, click the >> button.

    Figure 29-39 Abrupt Completion Details

    Description of Figure 29-39 follows
    Description of "Figure 29-39 Abrupt Completion Details"
  4. To the right of the Routing Condition field, click the icon to display the Expression Builder dialog box for dynamically creating a condition under which to complete this task early. For example, if a user submits a business trip expense report that is under a specific amount, no approval is required by their manager.

    An early completion XPath expression is not evaluated until at least one user has acted upon the task.

  5. To enable early completion, click Enable early completion in parallel with subtasks. For more information, see Enabling Early Completion in Parallel Subtasks.
  6. To enable early completion of parent tasks, click Complete parent tasks of early completing subtasks. For more information, see Completing Parent Subtasks of Early Completing Subtasks.
  7. Click OK to return to the Human Task Editor.

    You can click the icon to the right of the Complete task when a participant chooses: <outcome> check box to edit this information.