AnsweredAssumed Answered

Can I use prefix of the workflow model for the process variables that are not mapped in the content model?

Question asked by Aleksey Bykov on Feb 21, 2017
Latest reply on Feb 21, 2017 by afaust

For example, I need to set the value of the process variable scwf_approveCount:


<serviceTask id="scripttask1" name="Submit" activiti:class="org.alfresco.repo.workflow.activiti.script.AlfrescoScriptDelegate">
    <activiti:field name="script">
      <activiti:string><![CDATA[execution.setVariable('scwf_approveCount', 0);
          execution.setVariable('scwf_tpApproved', false);]]>


But this variable is not mapped to any property in workflow content model.


Should I use a different prefix in this case?


I would be very grateful for the information. Thanks to all.