But this query throw a ProcessEngineException:
ProcessEngineException: Invalid query usage: candidateUser, candidateGroup, candidateGroupIn, withCandidateGroups, withoutCandidateGroups, withCandidateUsers, withoutCandidateUsers has to be called before ‘includeAssignedTasks’.
Is there a way to get the query running?
I want to avoid two separate queries.
ProcessEngineException: Invalid query usage: candidateUser, candidateGroup, candidateGroupIn, withCandidateGroups, withoutCandidateGroups, withCandidateUsers, withoutCandidateUsers has to be called before ‘includeAssignedTasks’.