Hi,
I have added code to reviewprocessdefinition.xml.Can you tell me how get the aspect value calling webscript?
<task-node name="approved">
<event type="node-enter">
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<script>
for (var i = 0, child = null,
l = bpm_package.children.length; l > i; i++)
{
child = bpm_package.children;
child.properies["kb:docstatus"] = "Approved";
child.save();
}
</script>
</action>
</event>
<task name="wf:approvedTask" swimlane="initiator" />
<transition name="" to="end" />
</task-node>
Can you please post some link to refer ?