IBM BPM, V8.0.1, All platforms > Get started with IBM BPM > Key concepts > BPEL processes and human tasks > Human tasks overview > Lifecycle of human tasks

State transition diagrams for collaboration tasks

Collaboration tasks support people when they perform work for other people. During the lifecycle of a collaboration task, certain interactions are possible only in certain task states, and these interactions, in turn, influence the state of the task.

The state transitions that occur during the lifecycle of the task also depend on whether the task has single ownership or parallel ownership.


Collaboration tasks with single ownership

The following diagram shows the state transitions that can occur during the lifecycle of collaboration tasks that have a single owner.

After the task is created, it is put into the inactive state. In this state, the task cannot be claimed, but you can update task properties or set custom properties. To work on a collaboration task, it must be started.

After the task is started, it is put into the ready state. In this state, the task waits for one of the potential owners to claim it and perform the work associated with this task. In this state, the following exceptional events can occur:

In the normal task flow, one of the potential owners claims the task, and becomes the owner. The task is put into the claimed state and the owner and the editors can work on it. When tasks are in the claimed state, task owners can take the following actions:

In the claimed state, the following exceptional events can occur:

When the owner finishes work on the task, they complete it. The task is then put into the finished state if it completes successfully, or the failed state if an error occurs.

The failed, terminated, finished, and expired states are end states in which work cannot be performed. If the task template specifies automatic deletion, the task is either deleted immediately, or after the deletion timer expires. Without automatic deletion, the task remains in its end state until it is explicitly deleted. When the parent task is deleted, its subtasks and follow-on tasks are also deleted.

The forwarded state indicates that work is still required on the follow-on task. Automatic deletion of the parent task applies as soon as the follow-on task reaches an end state. Without automatic deletion, both the parent and the follow-on task remain in their states until the parent task is explicitly deleted. When the parent task is deleted, the follow-on task is deleted as well.

A task in one of the end states can be restarted, if it is not a follow-on task of a to-do task. The task is put back into the ready state. Escalations associated with the task are canceled and put into the inactive state, and the deletion timer is also canceled.


Collaboration tasks with parallel ownership

The following diagram shows the state transitions that can occur during the lifecycle of collaboration tasks with parallel ownership.

The parent task cannot be claimed or manually completed. The parent task goes into the running state and stays there until its completion condition becomes true, or expiration is reached.

Lifecycle of human tasks


Related concepts:
To-do tasks and collaboration tasks with parallel ownership
Changes to the expiration, deletion, and due times for tasks at run time


Related tasks:
Processing to-do tasks or collaboration tasks