Hi, I've my personal content my:document, whith a set of fields, including the field "Notes" (String) and the filed "Archive" (integer).
So, I want modify the value of each field (Notes and Archive) by the execution of a step of my workflow
I try with
<task-node name="approved">
<event type="node-enter">
<!– Update the status to Approved when we enter this task –>
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<script>
bpm_package.children[0].properties["my:notes"] = "Approved";
</script>
</action>
</event>
<task name="wf:approvedTask" swimlane="initiator" />
<transition name="" to="end" />
</task-node>
but don't works.
Why? where i wrong?
Thanks