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 – specifying a human task payload


A human task will, through the web user interface that we will discuss later, show specific information to the user. In our case, the human task will show the selected bookstore to the user and require an approval. Therefore, we need to configure the human task payload. The payload specifies the data that is sent to the human task and the outcome from the human task. We need to specify the XML element from the corresponding XML Schema.

We proceed as follows:

  1. To specify the payload for our BookstoreApproval human task definition, we need to select the Data tab to the left of Task Definition Editor. We have to set the payload, as the approval manager will need data about the book and the selected bookstore to decide whether to approve the warehousing or not.

  2. Under the Data section, we will click on the plus icon and select Add other parameter. The Add/Edit Task Parameter dialog opens:

  3. First, we will add the book data. To achieve this, we will select...