Summary
In this chapter, we have learned about human tasks and human interactions in BPEL processes. Support for human tasks is important, as it enables BPEL processes to include not only system-to-system interactions, but also human interactions.
To include a human task into the BPEL process, we first need to create a human task definition, where we have to specify various aspects of the human task, such as title and outcome, and human task payload that defines the data that is sent to human task and is received as an outcome. We need to assign the human task to a specific user or a group of users. We might also want to set the deadlines that will define when a human task must be completed. Finally, we can configure the notifications that will define who to notify if the human task is not completed in the specified time or if an error occurs.
Next, we have to add the human task invocation to the BPEL process with a specific human task activity. We also need to handle the outcomes and provide...