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:
- 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. - Under the Data section, we will click on the plus icon and select Add other parameter. The Add/Edit Task Parameter dialog opens:
- First, we will add the book data. To achieve this, we...