AnsweredAssumed Answered

Value in bpm_package.

Question asked by irene08 on Oct 12, 2012
Latest reply on Oct 15, 2012 by sujaypillai

Good Day!

Do I need to set a value in bpm_package or does it have a value already? I added this script in bpmn20.xml.

activiti:taskListener event="complete" class="org.alfresco.repo.workflow.activiti.tasklistener.ScriptTaskListener">
<activiti:field name="script">
if (bpm_package != null && bpm_package.children != null)
var i = 0;
for (i = 0; i &lt; bpm_package.children.length; i++)
var document = bpm_package.children;["cm:summary"] = "Approved";;

Thank you,