Bulk actions on approval tasks are used for making easy and asynchronous changes on multiple identities.
Delegate
| Field | Type | Description |
|---|---|---|
| New approvers | identity multiselect (required) | Users to add as approvers. Only enabled (active) identities are offered and accepted — missing or disabled identities are filtered out on the backend. |
| Remove old approvers | checkbox (default off) | When checked, the current approvers are removed and replaced by the selection. When unchecked, they are left untouched and the new ones are added alongside them. |
| Result code | When |
|---|---|
APPROVAL_TASK_ADD_APPROVERS_TASK_NOT_RUNNING | The task is not in the Running state. |
APPROVAL_TASK_ADD_APPROVERS_APPROVERS_MISSING | The selection contains no valid (existing, enabled) identity. |
FORBIDDEN_ENTITY | The logged user lacks a required permission for some approver record of the task (see Security below). |
This action is governed by the permission group APPROVALTASKAPPROVER (Approval task approvers, entity IdmApprovalTaskApprover) and its permission CREATE. If the user wants to also use the "Remove old approvers" option, they will need the DELETE permission as well.
| Field | Type | Description |
|---|---|---|
| Approvers to remove | identity multiselect (required) | Users to remove from the task approvers. Disabled identities can be selected too — removing a disabled approver is a common use case. |
idm.pub.core.wf.approval.task.reassign.script), with fallback to default approvers. A running task is therefore never left without an approver.(all-or-nothing per task).
FORMER_APPROVER identity link) is created — direct removal is distinct from delegation.| Result code | When |
|---|---|
APPROVAL_TASK_REMOVE_APPROVERS_TASK_NOT_RUNNING | The task is not in the Running state |
APPROVAL_TASK_REMOVE_APPROVERS_APPROVERS_MISSING | No user was selected. |
FORBIDDEN_ENTITY | The logged user may not delete some approver record of the task |
This action is governed by the permission group APPROVALTASKAPPROVER (Approval task approvers, entity IdmApprovalTaskApprover) and its permission DELETE