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.
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?