I want to assign a task to a user, but this user must not have already edited any tasks in the process.
I have one process. 3 user-task in a row and 3 different user.
- user-task-1 is done by user-1.
- Now user-task-2 can only be done by user-2 oder user-3.
- The last user-task-3 can only be done by user-2 (if user-3 has done user-task-2) or user-3 (if user-2 has done user-task-2)
Now also my question: It es possible to get all user, which have not checked one task in process instance? I want to use a Java Listener