AnsweredAssumed Answered

Workflow and Document

Question asked by thomasberment on Apr 9, 2010
Latest reply on Apr 19, 2010 by thomasberment
Hi, I search how it's possible to modify my own document's properties in my workflow.

I think it's a script like :
<task-node name="review">
        <task name="wf:reviewTask" swimlane="reviewer">
            <event type="task-create">
                <script>
               document.properties['custom:statutdocument'] = 'En relecture';
               document.save;
          </script>
            </event>
        </task>
        <transition name="approve" to="approved" />
        <transition name="reject" to="rejected" />
    </task-node>

But it doesn't work ! I read the wiki and I find anything …

Outcomes