AnsweredAssumed Answered

Retrieving  CandidateGroup Task

Question asked by frankee787 on Aug 21, 2011
Latest reply on Aug 22, 2011 by frankee787
Dear All,
  I understand , inorder to retrieve Task assigned to single "CandidateGroup"…you can use the API as follows

     getTaskService().createTaskQuery().taskCandidateGroup("candidateGroup").list();

However, if a task is assigned to multiple "CandidateGroup"…you would have to use the API probably in a loop as follows

for loop

getTaskService().createTaskQuery().taskCandidateGroup("candidateGroup"+).list();

end loop;

Is there a better way to do this , where in which it queries in one hit to the database ?

Regards,
Franklin

Outcomes