AnsweredAssumed Answered

[BUG] TaskQueryImpl#getCandidateGroups getting called 5x

Question asked by ikaros on Mar 24, 2014
Latest reply on Mar 24, 2014 by jbarrez
Hi,
I am pretty sure i have found a Bug in the TaskQueryImpl#getCandidateGroups implementation, or to be more specific, in whatever is calling it. The following code called the method once under actitiviti 5.14. Since activiti 5.15 it is called exactly 5 times.

taskService.createTaskQuery().processDefinitionKey(processdefinitionkey).taskCandidateUser(agentid).list();

It does not matter if I use LDAP or the Integrated H2 Database for managing Users, the method is always called 5 times and produces extreme delay.

Greetings

Outcomes