<swimlane name="verificateur">
<assignment class="org.alfresco.repo.workflow.jbpm.AlfrescoAssignment">
<pooledactors>#{pac02_persVerif}</pooledactors>
</assignment>
</swimlane>
<node name="recupVerif">
<!– Récupération de chaque occurence de vérificateur (chargée dans la variable 'occurVerif' –>
<action class="org.alfresco.repo.workflow.jbpm.ForEachFork">
<foreach>#{pac02_persVerif}</foreach>
<var>occurVerif</var>
</action>
</node>
<task-node name="verification">
<task name="pac02:verif">
<assignment class="org.alfresco.repo.workflow.jbpm.AlfrescoAssignment">
<actor>#{occurVerif}</actor>
</assignment>
<event type="task-create">
<!– Action répétée pour chaque occurence de vérificateur 'occurVerif' –>
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<script>
***** RECUPERATION DU PRENOM (QUI MARCHE PAS !) ******
var verif1 = pac02_persVerif.get(0).getNodeRef();
var nomVerif1 = verif1.properties.firstName;
var verif2 = pac02_persVerif.get(1).get();
var nomVerif2 = verif2.properties.firstName;
</script>
</action>
</event>
</task>
</task-node>
var nomVerif1 = pac02_persVerif.get(0).properties.firstName;
var nomVerif2 = pac02_persVerif.get(1).properties.firstName;
Content from pre 2016 and from language groups that have been closed.
Content is read-only.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.