Book Image

WS-BPEL 2.0 Beginner's Guide

Book Image

WS-BPEL 2.0 Beginner's Guide

Overview of this book

Table of Contents (19 chapters)
WS-BPEL 2.0 Beginner's Guide
About the Authors
About the Reviewers

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 for other similar human tasks, which is often the case for more complex business processes. A human task definition defines the task title, description, outcomes, payload (the information shown to the user), who the human task is assigned...