cancel
Showing results for 
Search instead for 
Did you mean: 

Get all claimed & unclaimed items for a group in Activiti

ajjain
Champ in-the-making
Champ in-the-making
How can I query all items claimed/unclaimed by user which belongs to a particular group? So I want to build an API of below format List getAllTasks4Group(String group)

The reason why I want this API is I don't have know all the users which might have acquired tasks and all these tasks belong to same group.
2 REPLIES 2

ajjain
Champ in-the-making
Champ in-the-making
Also, I am not using identity schema of Activiti and there by user query cannot be used in my case.

trademak
Star Contributor
Star Contributor
I think you need to do 2 queries, one to retrieve all tasks assigned to that user and one to retrieve all tasks where the group is a candidate group.

Best regards,