01-06-2011 04:16 AM
01-06-2011 04:27 AM
List<Task> groupATasks = taskService.createTaskQuery().candidateGroup("A").list();
List<Task> groupBTasks = taskService.createTaskQuery().candidateGroup("B").list();
List<Task> tasks = mergeLists(groupATasks, groupBTasks);
01-06-2011 04:55 AM
List<Task> candiateTaskList = new ArrayList<Task>();
for(Task task: processEngine.getTaskService().createTaskQuery().taskUnnassigned().list()){
boolean memberOfAllGroups = true;
for(String canidateGroup: task.getCandidateGroups()){
if(!userGroups.contains(canidateGroup)){
memberOfAllGroups = false;
}
}
if(memberOfAllGroups){
candiateTaskList.add(task);
}
}
01-06-2011 05:07 AM
01-08-2011 05:19 AM
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.