AnsweredAssumed Answered

Dynamic users and groups

Question asked by martin123 on Sep 6, 2013
Latest reply on Sep 13, 2013 by jbarrez

I am using Activiti on Tomact 7 and without Spring. I am not sure how to go about implementing dynamic users and groups. Here is the scenario.

I am implementing a project management tool. My users and groups are dynamic. The admin can create new users and groups at will. And users can only create, edit, approve projects assigned to their groups only. So while the approval process is the same for all, the approving users and groups are dynamic depending on different factors like the owner, project cost. priority etc.

Using addCandidateGroups or users programatically will  not work since it will add these users permanently as approvers for this workflow.

Is there any way to define the users/groups per Process instance rather than process definition?