06-03-2009 08:37 PM
<task-node name="rejected">
<transition name="" to="end" />
<event type="node-enter">
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<script>
for (var z = 0; z < bpm_package.children.length; z++)
{
bpm_package.children[z].properties["my:expert"] = bpm_groupAssignee.properties["usr:authorityName"];
bpm_package.children[z].save();
}
</script>
</action>
</event>
</task-node>
06-10-2009 08:41 AM
<event type="task-assign">
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<script>
bpm_package.children[0].properties["my:tecnico"]= bpm_package.properties["cmwner"];
</script>
</action>
</event>
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.