AnsweredAssumed Answered

Modify Content by workflow

Question asked by zed on May 12, 2008
Latest reply on May 28, 2008 by raweck
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">
         bpm_package.children[0].properties["my:notes"] = "Approved";

        <task name="wf:approvedTask" swimlane="initiator" />
        <transition name="" to="end" />

but don't works.

Why? where i wrong?