Fetching task list from history by filtering with more than one candidate user or group (list of users)

I want to fetch task list from history by filtering with more than one candidate user or group. But Camunda Rest API returns empty list when i pass more than one candidate user or group in a comma separated values.

From the docs history_task_post-task-query,

taskHadCandidateUser Restrict to tasks with a historic identity link to the given candidate user.
taskHadCandidateGroup Restrict to tasks with a historic identity link to the given candidate group.

taskHadCandidateUser=“kermit,john,jacob”
taskHadCandidateGroup=“accGroup,salesGroup,marketingGroup”
Both didn’t worked for the above.

  • How to filter a task by more than one candidate user or group?
1 Like

Hello @aravindhrs, did you find any response to this query?
I am having something similar, but with the GET history/task endpoint. Trying to filter multiple candidate groups, but can’t manage to do it :confused: