Human Task Quick Start Guide

This quick start guide will list the basic steps to deploy, create and manage Human Tasks in WSO2 BPS 3.1.0

Human Task Artifact Deployment

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

Creating User Roles and Users

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.

  1. Adding Roles

    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.

    Add User Roles Screen

    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.

    Add User Roles Screen

  2. Adding Users

    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.

    Add User Screen

    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.

    Role Association

Creating Tasks

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.

  1. Invoking a BPEL process referring to the human task as a people activity construct.
  2. Invoking the Human Task web service directly.

Viewing tasks and task life cycle

The list of tasks related to a particular user can be viewed by visiting the task list page

Task Listing

Refer Managing Human Tasks guide for more information about task operations and management.