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:
Create a human task definition.
Configure the human task.
Add a human task to the BPEL process.
Configure human task case branches.
Create human task forms.
Let's get started!
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...