AnsweredAssumed Answered

Process Initiation Authorization

Question asked by dumitru.ciubenco on Jun 11, 2014
Latest reply on Jun 16, 2014 by dumitru.ciubenco
Activiti version 5.15.1
According to the current documentation we can use:  extensionElements for defining candidate group/user for process start.
So my understanding is that if I would use :

   <extensionElements>
       <activiti:potentialStarter>
         <resourceAssignmentExpression>
           <formalExpression>group2, group(group3), user(user3)</formalExpression>
         </resourceAssignmentExpression>
       </activiti:potentialStarter>
     </extensionElements>

I'm expecting that after process deployment there will be some new record in the ACT_RU_IDENTITYLINK with GROUP_ID_ reference.
But this is not working.

I have my customSessionFactories for GroupIdentityManager and UserIdentityManager, and if I'm using activiti:candidateStarterGroups :

<process id="myProcess" name="Import workflow" isExecutable="true" activiti:candidateStarterGroups="MYGROUP">


It's working.

So the question is why it is not working in case of using extensionElements?


Thank you,
Dima

Outcomes