How can we retrieve all the tasks(get TASK REST API/POST task Rest API) based on CandidateGroup/CandidateGroups even those tasks are assigned to different USERs but with same CandidateGroup/Groups? in camunda?

please help on this. i need to retreive the tasklist based on same candidateGroup/groups but for different set of users presents in same candidateGroup

You can get all the tasks including assigned ones using List API with

includeAssignedTasks=true

query-param

something like this:

http://localhost:8080/engine-rest/task/?candidateGroup=electrician&includeAssignedTasks=true

but remember you can’t use this param alone, you need to use one of the params from candidateGroups, CandidateUsers

1 Like

thanks @Sumit_Singh that Solves my issue :blush: