Each human task has to be assigned to a human to fulfill it. Such a human is called a participant. Generally, we can assign a human task to a specific user or group of users. In the latter case, a user has to claim a task before he can start working on it. We assign a human task to a specific user if we know exactly who should fulfill the task. Otherwise, we can assign the task to a group, and a user (for example an employee) from that group can claim the task and fulfill it.
To simplify our example, we will assign the human task to a specific user:
Approval Manager
). Then we will click on the plus sign to add a participant and select Add User. Again, we will assign the task to the weblogic
user. Similarly, as we did earlier, we will see the list of users and groups, which have been created in the WebLogic user realm. We could create additional users and groups within the WebLogic user realm. For more information about adding users and groups, refer to http://docs.oracle.com/cd/E24329_01/web.1211/e24484/realm_chap.htm.In addition to assigning the user participants that will need to fulfill the human task, we can also assign the user who will be responsible for performing corrective actions in case of errors, and the user who will be able to review the human task.
weblogic
user as Error Assignee:We have assigned the users for the human task, who should fulfill it. We have seen that there are several options for user assignments, from simple assignments to a specific user, over assignments to groups, and complex assignments. In our example, we have assigned the human task to the weblogic
user. We have also assigned error assignees, who are responsible for handling errors. In our example, we have used the same weblogic
user. In real-world examples, we would first create additional users and groups in the WebLogic realm and select from them. Creating users and groups is out of the scope of this chapter, as it is specific to the application server that is used. For WebLogic, refer to http://docs.oracle.com/cd/E24329_01/web.1211/e24484/realm_chap.htm for more information about adding users and groups.
For more information on human tasks refer to http://docs.oracle.com/middleware/1213/soasuite/develop-soa/soa-bpm-human-task-design.htm#SOASE87304.
In the next step, we will continue with the configuration of deadlines.