cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to get task from Candidate Group once it's claimed

rohitagrawal
Champ on-the-rise
Champ on-the-rise
Hi,

We want to manage user/queue in such a way that each user can see all tasks of his group.
Below steps we are doing:
1.add task to candidateGroup once it's created.
2.Get all tasks in a candidateGroup.
taskService.createTaskQuery().includeTaskLocalVariables().taskCandidateGroup("QueueName").list()
Here i can see the task in group.
3.Task claimed by some user.
Now I can not see the task in candidateGroup with same query.

Is there any workaround
1 REPLY 1

trademak
Star Contributor
Star Contributor
When a task is claimed by a user, it's only visible to the assignee by default.
We have a taskInvolvedUser option in the task query and what you are asking for is to a taskInvolvedGroup option as well.
I think that would be a good addition to the Activiti task query API. Could you create a JIRA issue for this?

Thanks,