AnsweredAssumed Answered

query.taskCandidateUser issue

Question asked by heymjo on May 4, 2012
Latest reply on May 7, 2012 by heymjo
Hi,

When i have a user task like this

    <userTask id="createReport4" name="create the report4" activiti:candidateGroups="ROLE_CREATE"/>

then taskQuery.taskCandidateUser("myuser") will return this task if "myuser" has ROLE_CREATE. So far so good.

When i put a task without candidate restriction (meaning anyone could pick it up)


    <userTask id="createReport4" name="create the report4"/>

then taskQuery.taskCandidateUser("myuser") does not return this task, even though logically it should. For this task everyone is a 'candidate' user.

Also, from a taskbasket perspective, how would i query for such task ?

Outcomes