AnsweredAssumed Answered

CandidateUsers from java code in BPMN

Question asked by kgiannakakis on Dec 9, 2015
Latest reply on Oct 5, 2016 by timsim
I'd like to call java code to populate the candidate users in a user task. Something like this:

<userTask id="MyUserTask" name="User Actions" activiti:candidateUsers="${candidateUsers.getAllCandidateUsers()}">

is a Spring bean. Is this possible? What are the requirements for the Spring bean?

I know that I can have a Service Task in front of the User Task and use a variable, but the above syntax would make the bpmn smaller.