IBM BPM, V8.0.1, All platforms > Get started with IBM BPM > Key concepts > BPEL processes and human tasks > Human tasks overview > Stand-alone and inline tasks

Relationship between human tasks and BPEL processes

Inline tasks know the process they are related to, and the process knows about its inline tasks. With stand-alone to-do tasks this relationship can be defined with child autonomy. A child task that is directly instantiated by an invoke activity of a BPEL process, participates in the lifecycle of that BPEL process. That is, lifecycle operations, such as termination or deletion, are propagated from the BPEL process to its child tasks. When the activity expires, the to-do task is terminated.

Invocation tasks can be associated with receive or pick (receive choice) activities, or on-event event handlers. These tasks can be both inline or stand-alone tasks. If you are using the Business Flow Manager API, only inline invocation tasks can influence the authorization for invoking the receive or pick activity. By default, everybody is allowed to send a message to receive or pick activities, or to on-event event handlers. This includes invoking a BPEL process in the case of initiating receive or pick activities.

An administration task is associated with every BPEL process. The administration task determines who is authorized to administer and read the process. If an administration task is not modeled in IBM Integration Designer for the process, an administration task is created at run time. This task ensures the default authorization for the BPEL process; the process starter becomes the only administrator of the process, and readers are not assigned to the process.

You can model an administration task for each invoke or snippet activity. This task determines who is allowed to administer the activity in addition to the process administrators. You can also model a default activity administration task that applies to every invoke or snippet activity that has no explicit administration task assigned to it.

Invoke activities have an administration task associated with them. For snippet activities and synchronous invoke activities, this task is created only when the activity is stopped after an invocation failure. The administration task is then used to handle repair requests, such as force finish and force retry. For asynchronous invoke activities, the administration task is always created. Thus, an administrator can force retry or force finish the activity while the activity waits for the asynchronous response.

Stand-alone to-do tasks can implement asynchronous invoke activities. These activities also have an administration task associated with them. Inline to-do tasks implement human task activities. An administration task is created for these activities at run time.

If you are using one of the alternative process administration modes, administration tasks might not be created. In addition, administrative actions on processes, scopes, and activities might be limited to users in the BPESystemAdministrator role. For more information about alternative administration modes, see Alternative administration modes for BPEL processes.

Stand-alone and inline tasks


Related information:
Lifecycle of stand-alone human tasks that are invoked by a BPEL process
Authorization for creating and starting BPEL processes
Authorization for interacting with a BPEL process
Authorization for administering BPEL processes