This quick start guide will list the basic steps to deploy, create and manage Human Tasks in WSO2 BPS 3.1.0
Once you have developed your task artifact you can deploy it following the steps given in the Human Task deployment guide.
You can use the sample task configuration packed with the WSO2 BPS 3.1.0 which could be found in BPS_HOME/repository/samples/humantask/ClaimsApprovalTask.zip
Before you can create tasks, you need to create users and roles associated with your task definition. The logical people groups will be associated with the Carbon roles. Hence you need to create Carbon roles for each logical people group provided in your task configuration. Once the roles are created users who are intended to be associated with those roles should be added.
In the management console go to Configure > Users and Roles. You can add roles by clicking on Roles link. The add new role screen would take you to a simple wizard to create a new role in BPS.
Once you have provided the matching role names in the task configuration you should associate minimum permissions for the particular role. If the role being added is intended only to work with task items it should be associated only with Login and View Task List permissions only. Refer the image below for more details.
In the management console go to Configure > Users and Roles. You can add users by clicking on Users link. The add new user screen would take you to a simple wizard to create a new user in BPS.
Once you have provided the user name and the password you should associate the user with the particular role he should be added to. Refer the image below for more details.
Once the task is deployed and the related roles and users are created, it is ready to relieve task creation messages. Task instances could be created in two methods.
The list of tasks related to a particular user can be viewed by visiting the task list page
Refer Managing Human Tasks guide for more information about task operations and management.