02-14-2012 05:33 PM
02-15-2012 08:20 AM
List<Task> tasks = processEngine.getTaskService().createTaskQuery().taskAssignee("user").taskCandidateGroupIn("group1", "group2");
02-20-2012 04:24 PM
To query for tasks in more than one group at a time you need the patch attached to http://jira.codehaus.org/browse/ACT-796. The latest comment is that this should be in 5.9 (not yet released).
Once you have that I believe it is possible to combine assignee and candidateIn something like this:List<Task> tasks = processEngine.getTaskService().createTaskQuery().taskAssignee("user").taskCandidateGroupIn("group1", "group2");
Hope this helps,
Tim
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.