11-05-2013 02:11 PM
<userTask id="sid-30760A28-47EB-43F4-8D16-5ED177818767" name="Approve Document (External)" activiti:candidateGroups="${wf_managementGroup}">
<extensionElements>
<activiti:taskListener event="create" class="org.alfresco.repo.workflow.activiti.tasklistener.ScriptTaskListener">
<activiti:field name="script">
<activiti:string>
logger.log("EXTERNAL CREATE ########################################################################## " + bpm_package.children.length);
</activiti:string>
</activiti:field>
</activiti:taskListener>
<activiti:taskListener event="complete" class="org.alfresco.repo.workflow.activiti.tasklistener.ScriptTaskListener">
<activiti:field name="script">
<activiti:string>
bpm_package.removeNode(bpm_package.children[0]);
logger.log("EXTERNAL COMPLETE ########################################################################## " + bpm_package.children.length);
</activiti:string>
</activiti:field>
</activiti:taskListener>
</extensionElements>
</userTask>
11-11-2013 12:50 PM
11-14-2013 03:08 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.