<!–**************************–>
<!–** <Node> **–>
<!–** startapproval **–>
<!–**************************–>
<node name="startapproval">
<action class="org.alfresco.repo.workflow.jbpm.ForEachFork">
<foreach>#{lwf_approvalAssignees}</foreach>
<var>approval</var>
</action>
<transition name="approval" to="approval"/>
</node>
<!–**************************–>
<!–** <Task Node> **–>
<!–** approval **–>
<!–**************************–>
<task-node name="approval">
<task name="lwf_approvalTask">
<assignment class="org.alfresco.repo.workflow.jbpm.AlfrescoAssignment">
<actor>#{approval}</actor>
</assignment>
</task>
<event type="node-enter">
<!– Set read permission for tne current approbator –>
<action class="lpr.alfresco.repo.workflow.jbpm.SetPermissions">
<actor>#{approval}</actor>
<permission>set</permission>
</action>
</event>
<transition name="reject" to="endApproval" />
<transition name="approve" to="endApproval" />
</task-node>
<!–**************************–>
<!–** <<Join>> **–>
<!–**************************–>
<join name="endApproval">
<event type="node-enter">
<!– Unset read permission for tne current approbator –>
<action class="lpr.alfresco.repo.workflow.jbpm.SetPermissions">
<actor>#{approval}</actor>
<permission>unset</permission>
</action>
</event>
<transition to="isapproved" />
</join>
<!–**************************–>
<!–** <Decision> **–>
<!–** isapproved **–>
<!–**************************–>
<decision name="isapproved">
…
</decision>
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.