AnsweredAssumed Answered

All tasks belonging to group A and B

Question asked by torak on Jan 6, 2011
Latest reply on Jan 8, 2011 by torak
Hello!

I wish to find all tasks that have candidate groups A and B. In other others tasks that belongs to both groups (intersection), and not only one of them.

I have tried different ways, but can't find a solution, any tips?

Thanks

Edit - to clarify:

<userTask id=1 activiti:candidateGroups="A"/>
<userTask id=2 activiti:candidateGroups="A,B"/>

Users that are member of A should get task 1
Users that are member of A,B should get task 1 and 2

So the user has to be member of all the groups for it get the tasks.

Outcomes