Task events are generated when task-related activities occur during process execution, such as creating tasks, assigning tasks, or managing task candidate users and groups. These events allow triggers to monitor task lifecycle changes and publish events when specific task actions occur.
Task Candidate Group
Events related to candidate groups associated with a task.
The configuration parameters are:
| Parameter | Definition |
|---|---|
| condition | A condition that determines whether the trigger publishes an event. For more details on conditions available as a part of the input values, see Creating Conditions. |
| groupId | Group identifier as configured in the application, for example administrators. |
Task Candidate User
Events related to candidate users associated with a task.
The configuration parameters are:
| Parameter | Definition |
|---|---|
| condition | A condition that determines whether the trigger publishes an event. For more details on conditions available as a part of the input values, see Creating Conditions. |
| userId | Identifier of the candidate user associated with the task, for example 1234567890. |
Task
Events related to task lifecycle activities, such as task creation and assignment.
| Parameter | Definition |
|---|---|
| condition | A condition that determines whether the trigger publishes an event. For more details on conditions available as a part of the input values, see Creating Conditions. |
| name | Name of the task, for example Set Document Metadata. |
| status | Status of the task, for example CREATED. |
| owner | User name of the task owner, for example MyUsername. |
| assignee | User name of the task assignee, for example MyUsername. |
| priority | Priority assigned to the task, for example 1. |
| formKey | Key of the form associated with the task, for example form-17ed2ac0-a96c-494e-aed4-48455f469331. |
| businessKey | Business key associated with the process instance, such as Customer Review Process. |
| taskDefinitionKey | Identifier of the task definition within the process, for example Activity_102rnv9. |
| standalone | Indicates whether the task is standalone. A value of true means the task can be executed directly by the engine without creating a separate process instance. A value of false indicates that the task executes as part of a process. |