Hello,
is it possible to use dynamic list of candidate users to realize the four-eyes principle - or any similar approach?
Usually you have in the BPMNsomething like
<bpmn2:userTask id="UserTask_1" camunda:candidateUsers="peter, #{initiator}">
What I'm think about is explained with this example pseudo code, scope is UserTask_2 :
candidateUsers = #{GROUPS.APPROVER.getUsers() - UserTask_1.assignee.getUser()}
Of course it's possible to design it with BPMN, but this will blow up the diagram. And usually the four-eyes principle is used within same group (users having same role -> tasks are in the same BPMN lane).
Thanks, Best,
Peter