Human task queues
A queue acts as a container for Human tasks.
- Overview
- When a Human task is
created, it references a specific queue. A Human task
queue is defined by a folder and a name, and it can have
optional email addresses to notify users of new tasks.
Email notifications are sent from a default sender, which is configured
using the
config.mail.fromparameter of thevalues.yamlfile. The parameter contains an email address, and it can optionally contain a display name in the following format:
For example:config.mail.from = DisplayName <email@address.com>
In this case, the recipient sees emails originating fromconfig.mail.from = John <noreply@uno.com>Johnwith the sending addressnoreply@uno.com. - Security
- Queues have a set of permissions to control user access and actions:
- Base model permissions
LIST|ADD|DISPLAY|MODIFY|DELETE|UNLOCK|USENote:USEpermission is required for a user to reference a queue when creating a Human task.- Task-related permissions
-
MONITOR- With
MONITORpermission, a user can retrieve human tasks in a queue that are waiting for completion. POWER_USER- With
POWER_USERpermission, users can assign tasks to themselves if unassigned, or unassign tasks from themselves. Users withPOWER_USERpermission are also grantedMONITORpermission. ADMIN- With
ADMINpermission, a user can assign, unassign, or reassign tasks to and from anyone. Users withADMINpermission are also grantedPOWER_USERandMONITORpermissions.
Note: Assignment and unassignment actions are not permitted if the Human task is in anOPENstatus with thependingCompletionflag active or in a final status. - Queue management
- You can create and manage queues in different ways:
- From the Orchestration CLI, using Model commands. A Human task queue definition has the following
format:
- YAML
-
--- kind: HumanTaskQueue def: folder: <mandatory> name: <mandatory> description: <optional> prefix: <mandatory> groupEmail: <optional> senderName: <optional> - SCHEDLANG
-
$humantaskqueue HUMAN_TASK_QUEUE [folder/]humantaskqueue_name DESCRIPTION ["description"] PREFIX "prefix" GROUP_EMAIL group_email SENDER_NAME sender_name END
- From the UI, as described in step 1 of Managing a Human task from the UI;
- Using REST APIs, at the following path:
/twsd/api/v2/model/humantaskqueue
- From the Orchestration CLI, using Model commands. A Human task queue definition has the following
format: