✅Tasks

Access control

Access to the processes can be configured through access control. More information about access control can be found here.

Resources and actions

Resource type
Action
Effect

com.ritense.valtimo.camunda.domain.CamundaTask

assign

Allows assigning users to a task.

assignable

Allows users to be assigned to a task.

claim

Allows claiming of a task.

complete

Allows completion of a task.

view

Allows viewing of a task.

view_list

Allows viewing of tasks.

com.ritense.valtimo.camunda.domain.CamundaIdentityLink

Task identity links have no actions currently. As a result, they can only be used as part of container conditions. See the example here on how to use this.

Examples

Permission to complete a task of one candidate group
{
    "resourceType": "com.ritense.valtimo.camunda.domain.CamundaTask",
    "action": "view",
    "conditions": [
        {
            "type": "container",
            "resourceType": "com.ritense.valtimo.camunda.domain.CamundaIdentityLink",
            "conditions": [
                {
                    "type": "field",
                    "field": "groupId",
                    "operator": "==",
                    "value": "ROLE_USER"
                }
            ]
        }
    ]
}
Permission to claim a task if unassigned
{
    "resourceType": "com.ritense.valtimo.camunda.domain.CamundaTask",
    "action": "claim",
    "conditions": [
        {
            "type": "field",
            "field": "assigneeId",
            "operator": "==",
            "value": null
        }
    ]
}

Last updated