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
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Time for action – invoking a human task from the BPEL process


We proceed as follows to invoke a human task from the BPEL process:

  1. To invoke the human task, we simply drag Human Task from the SOA Components palette and drop it in the appropriate place in the BPEL process.

    We have decided to place it at the end of the BPEL process, after the <if> activity and before the callback <invoke> activity:

  2. Next, we will double-click on the human task and a dialog for human task configuration will open. Here, we will select the BookstoreApproval human task definition:

  3. We can skip Task Title (in which case the default task name will be used) and proceed straight to Task Parameters. We need to provide the BookData and SelectedBookstore parameters. We will use the appropriate variables for both parameters.

  4. For BookData, we will use the BPEL variable with the same name—BookData. As this variable does not exist yet, we need to create it. Refer to Chapter 3, Variables, Data Manipulation, and Expressions...