Adding a human task to the BookWarehousingBPEL process

Let us now enhance the BookWarehousingBPEL process and include a human task to approve the book store selection. We will place the human task at the end of the BPEL process, after the <if> activity and before the callback <invoke> activity.

In order to add a human task to the BPEL process, we need to follow the ensuing steps:

  1. Create a human task definition.
  2. Configure the human task.
  3. Add a human task to the BPEL process.
  4. Configure human task case branches.
  5. Create human task forms.

Let's get started!

Creating a human task definition

A human task definition is a template, which is used to create the actual human task instances. Having a human task definition is useful, as we can use the same definition ...

Get WS-BPEL 2.0 Beginner's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.