AnsweredAssumed Answered

Howto get both assigned tasks and tasks where use is candidate in one call

Question asked by xman-berlin on Apr 25, 2014
Latest reply on Mar 12, 2016 by schmke
Hi all,

I want to retrieve all tasks that are assigned to a user plus all tasks where the user is a candidate to properly implement paging and sorting. The following scenario should work:
  • Start one process with one simple user task defining candidate groups (group1, group2)
  • Query tasks for user (member of group1) for assigned and candidate tasks: returns the simple unassigned task
  • User claims that task
  • Query tasks for user (member of group1) for assigned and candidate tasks: returns the simple assigned task
I tried different combinations of TaskQuery-Parameters, e.g. taskAssignee+candidateUser or assignee+candidateGroupIn, but the resulting list did not contain the assigned task.

Any help is appreciated,
Best regards,
Torsten

Outcomes