A user task enables you to model work to be done by a human actor. When process execution arrives at a user task in the process definition, it creates a new task in the task list of the assignee or assignees defined in the task.
A user task is depicted as a rounded rectangle with a user icon on the top-left corner.
Property | Description |
---|---|
Id |
A unique identifier for this element |
Name |
A name for this element. |
Documentation |
A description of this element. |
Assignment |
Configures to who this task should be assigned. It is possible to use Fixed Values (advanced usage: these are SkyVault Process Services expressions, for example by invoking a class or Spring bean) or use the Identity Store option. It is recommended to use Identity Store to select groups and users in the system:
|
Referenced form |
Allows to configure or create the form for this task. This form (also called _task form) will be rendered when the task is shown in the task list of the user. A user task typically always has a form defined. |
Form key |
This is a property that exists for compatibility with the community version. When working with task lists and forms, do not set this property. |
Form properties |
This is a property that exists for compatibility with SkyVault Process Services community. When using SkyVault Process Services to work with task lists and forms, do not set this property. |
Due date |
Allows to configure a due date for the task. In the task list, tasks can be sorted by due date to see which tasks are needed to be completed the soonest. The possible ways of configuring are:
|
Allow email notifications |
When enabled, an email will be sent to the assignee when the task is created. |
Asynchronous |
(Advanced) Define this task as asynchronous. This means the task will not be created as part of the current action of the user, but later. This can be useful if it’s not important to have the task immediately ready. |
Exclusive |
(Advanced) Define this task as exclusive. This means that, when there are multiple asynchronous elements of the same process instance, none will be executed at the same time. This is useful to solve race conditions. |
Execution listeners |
Execution listeners configured for this instance. An execution listener lets you execute Java code or evaluate an expression when an event occurs during process execution. |
Multi-Instance type |
Determines if this task is performed multiple times and how. The possible values are:
|
Cardinality (Multi-instance) |
The number of times the task is to be performed. |
Collection (Multi-instance) |
(Used with Multi-Instance type) The name of a process variable which is a collection. For each item in the collection, an instance of this task will be created. |
Element variable (Multi-instance) |
A process variable name which will contain the current value of the collection in each task instance. |
Completion condition (Multi-instance) |
A multi-instance activity normally ends when all instances end. You can specify an expression here to be evaluated each time an instance ends. If the expression evaluates to true, all remaining instances are destroyed and the multi-instance activity ends. |
Is for compensation |
If this activity is used for compensating the effects of another activity, you can declare it to be a compensation handler. For more information on compensation handlers see the Developer Guide. |