This is an old revision of the document!


Delegation

The aim of delegations is to transfer approval tasks to another solver. We divide delegations into automatic and manual.

In automatic delegations, a rule is first created according to which tasks are automatically delegated. A typical example is the user's departure on holiday.

In this case, the user creates a delegation, where he selects the validity of the delegation and the delegate (the user to whom the tasks will be moved). From the moment the created delegation is valid, tasks will be delegated to the delegate.

The type of delegation we chose when creating the rule determines which tasks will be delegated.

In the product are by default three delegation types:

  • Default delegation for all tasks - It will be used for all tasks for which no other delegation is defined (with a more specific type).
  • Tasks approving role assignments by a manager - This type is used exclusively for tasks that are created as part of a role assignment approval workflow. (approve-role-by-manager). This type is unique due to the definition of the delegate not only by the user but also by his contract. Thanks to this, we are able to create delegations for each delegator's contract. This will ensure that the resulting delegate will be selected on the basis of the delegator's contract (where the applicant's contract will be subordinate to the delegator's contract).
  • Manual task delegation - It is created automatically on using the delegate operation over the agenda of assigned tasks. This type cannot be selected manually by user.
The default delegation type delegates all approval tasks.

A new delegation tab has been added to the user detail. Here the user can create a new delegation and above all he sees an overview of all his delegations and also the delegations that delegate to him.

All types of delegations are displayed here, including manually delegated tasks.

Manual delegation allows a user to reassign his tasks to someone else. Are available as a bulk operation on the agenda of assigned tasks.

Manual delegation can also be used in the administrator mode, where the user has the right to see all unresolved tasks, all users. In this mode, it must be clearly defined who is the delegator for the selected tasks. To do this, the administrator can use a filter, where he selects only one user whose tasks he wants to delegate. If this filter is used, the delegator will be pre-filled according to it after starting the bulk operation. The second option is to select the delegator manually.

Here it is important to remember that only those selected tasks will be reassign, where one of their solvers is the chosen delegator.

Manual delegations use the standard delegation agenda. This means that if the bulk operation reassign a task, a delegation definition will be created corresponding to this reassing. This new definition will contain a delegator and a delegate, depending on the settings of the bulk operation. Next, a link will be created between the definition and the task being reassigned.

The purpose of creating a definition and link to a task is to provide a history and provide a clear overview of tasks that have been delegated to users and that they have delegated.

Within each task delegation, a notification is sent to the task delegate, which informs him of the new task.

This notification is sent to the topic: `core:delegationInstanceCreatedToDelegate`.

If the user has the right to read the task, he has the right to delegate it.
Tasks can be delegated to any user who can be selected in the select box. In other words, the user can delegate to a user to whom he has the autocomplete permission.
The manually created delegation definition should be deleted after deleting the last link to the task.
After reassigning the task, also send a notification to the delegator.
  • by svandav