AnsweredAssumed Answered

Update Custom Workflow Properties

Question asked by swemon on May 8, 2012
Latest reply on May 9, 2012 by swemon
Dear all,

I want to know how to update workflow properties like bpm_workflowPriority or custom properties (for eg. dmswf_workflowStatus)with java or javascript.
<transition name="reject" to="rejected" >
         <action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
            <runas>admin</runas>
              <script>
               logger.log("Workflow Status"+ dmswf_workflowStatus);
               dmswf_workflowStatus = "Rejected";
               
            </script>
         </action>
      </transition>

Thank in adv.

Outcomes