Most processes depict real-life, practical business or scientific scenarios which need the interactions of a human at least once in its workflow design. Typically, these interactions are initiated by the process itself, and requests a user input to proceed. For example, consider a "bank loan request" process which often requires the final decision to be taken by a human.
...
EI Business Process implements the WS-Human Task specification. It has WS-Human Task API and UI which expose the functionality in Task Management API. It enables users to bundle a human tasks definition as a zip file and upload it, where the tasks definition includes input and output message formats for the human task. The human task management functionality is provided by the following feature in the WSO2 feature repository.
Name : WSO2 Carbon - HumanTask Application Deployer Feature
Identifier : org.wso2.carbon.application.deployer.humantask.feature.group
If human task management capability is not included in your product by default, you can add it by installing the above feature using the instructions given in section, Feature Management.
Adding a human task
Follow the instructions below to add a human task.
- Log on to the product's management console and select "Human Tasks-> Add" under the "Main" menu.
- The "New HumanTask Package" window opens. Provide the file and click "Upload.
- The "Deployed Task Configurations" window opens with the newly-added human task listed. For example,
- Package Name: The name of the package.
- Task Definition: The task definition
- Type: Whether this definition is a Task or a Notification
- Status: The package status.
- Click on a selected "Task Definition".
Using the Human Task Explorer
You can access the WS-HumanTask-Explorer of EI Business Process via https://<hostIP>:9445/humantask-explorer/login .
Login
After login with valid username and password, user will be directed to the task inbox.
Inbox
Tasks assigned to logged-in user are listed in the MY TASKS tab.
Click on a task list entry, the user will be directed to the task view. Tasks can be filtered based on status by clicking on the particular status in left sidebar.
Task View
Task view display the detailed description of the task. The content of the UI depends on the relationship of logged-in user and the viewed task.
Task Abstract | List down abstract details (subject, description) |
Task Operations (1) | Provide support to change state of the task (only provided to task owner) Start : Start progress of the task Stop : Stop progress Release : Release assigned task (release operation will update state of the task to READY, which allowing other users to claim it to themselves) Suspend : suspend task. Resume : resume suspended task Fail : fail the task Assign : assign task to another user. Skip: skip a task from further action Note that allowed operations differ depending on the state of the task and user permissions. |
Additional Task information (2) | Additional information related to the task. This section consists of three tabs:
|
Summary (3) | Summary of task information |
Claimable Tasks
All the tasks which is claimable to the logged-in user, are listed down in the claimable tasks tab.
By clicking on each entry, the user can view the task and claim it in the task view.
When viewing a claimable task, which is in READY state(not assigned to a particular user), the task view is similar to above. The viewer can assign it to himself by clicking the claim button, located top left corner among task operations.
Apart from the pages explained above, Notification tab displays the notifications to the user. Search tab can be used to search tasks. Search has options to search by task status and category. Results can be ordered based on the task name, created date, updated date or priority.
Excerpt | ||
---|---|---|
| ||
Information on defining and adding human tasks to EI Business Process which facilitates human task management according to WS-Human Task specification. |