Hello,
I am trying to model a requirement in which a user can delegate its task to another user, while its delegated the original user can also act and complete the task i.e both the original user and the delegated user can work on the task at the same time. Is there a way to achieve this? Thanks in advance.
@Ujjwal After delegation of task, the task assignee supposed to work. Once the task is marked as resolved by assignee then the task will be assigned to the primary owner of the task so that he can work on it. This is the delegation concept.
The solution for your case can be solved by using candidateUsers. So that anyone can claim and work the task but not on the same time. At any given point of time task entity will have one state. We can’t have multiple states, in such case camunda will throw an exception for this race condition
In addition to what @aravindhrs mentioned you can also use candidate group to assign task to a particular group and anyone part of the group can complete the task