11-02-2007 10:06 AM
<!–**************************–>
<!–** <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>
11-05-2007 02:34 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.