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.