As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
<task-node name="review"> <event type="node-enter"> <!– Update the status to In Review when we enter this task –> <action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript"> <script> for (var i = 0; i < bpm_package.children.length; i++) { bpm_package.children[i].properties["dnetwf:status"] = "In esame"; bpm_package.children[i].properties["dnetwf:reviewer"] = bpm_assignee.properties.userName; bpm_package.children[i].save(); } </script> </action> </event> <task name="wf:reviewTask" swimlane="reviewer"> <event type="task-create"> <script> if (bpm_workflowDueDate != void) taskInstance.dueDate = bpm_workflowDueDate; if (bpm_workflowPriority != void) taskInstance.priority = bpm_workflowPriority; </script> </event> </task> <transition name="approve" to="approved" /> <transition name="reject" to="rejected" /> </task-node>
<event type="task-assign"></event>