Configuring automatic task cancellation

Configure a workflow model to automatically cancel a task that was not completed within a given time interval after the task was created. You must use a workflow step of type parallel.

  1. Add a workflow step of type parallel flow with two branches.
    In the step properties, select the One branch completed option.

    See Specifying details for a parallel element

  2. Place the workflow task on one of the branches.
  3. Place a workflow wait step on the other branch.
    See Specifying details for a wait element.

    This is how the workflow looks like:

    nt_diagram_workflow_task_cancel

    At runtime, both the task activity and the wait step are triggered simultaneously. If the task is not completed within the amount of time specified in the wait step, the branch with the wait step completes first. Then the workflow continues to the next step. The task is canceled, and any workflow parameters used in this task remain unchanged.

    If notes have been added to the task that was canceled, these notes are not visible in other workflow tasks after the parallel step.

    If attachments have been added to the task that was canceled, they are visible in other workflow tasks after the parallel step.