AnsweredAssumed Answered

Workflows add permission

Question asked by ribz33 on Nov 15, 2007
Latest reply on Dec 7, 2007 by federico.tesei

i want that a user can valid document. This user must have only Read access on content.
When user valid or reject document, status property change.

This is my task :

<task-node name="ValidationTask">
  <transition name="reject" to="end">
    <action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
      <variable name="bpm_package" access="read,write" />
        bpm_package.children[0].properties["custom:status"]= "Draft";
I have error Access denied.
I thinked that if i give access read,write on bpm_package this will be enough to save my content but answer seems to be no !

Someone have an idea how i can solve this ?