AnsweredAssumed Answered

Multiple ways to define assingers in FORK nodes

Question asked by ale_carraro on Feb 20, 2008
Latest reply on Oct 13, 2011 by carlos.miguens
Hi, I got to FORK a workflow execution setting assignees equal to a "distribution list", eg a list of people defined in a group in this way.

 <node name="sign">
   <action class="org.alfresco.repo.workflow.jbpm.ForEachFork">
    <foreach>#{people.getMembers(people.getGroup('GROUP_signers'))}</foreach>
    <var>reviewer</var>
   </action>

Now, I want to give he possibility to add (but not to remove) people from the workflow task instance, so I put an association with multiple person nodes.

However I can't implement this enhancement, since <node> element support only one action, and putting more than one action in an event such as node-leave give me the javascript error "reviewer is not defined".

Does anybody has an hint on this?

Thanks in advance

Alex

Outcomes