cancel
Showing results for 
Search instead for 
Did you mean: 

Javascript issues when updating from 5.12 to 5.17

cljungblad
Champ in-the-making
Champ in-the-making
We have recently updated activiti from 5.12 to 5.17 and we are now experiencing problems in some of our running processes. We are using javascript in our process definitions like this.

<scriptTask id="scripttask3" name="Transfer Index" scriptFormat="javascript">
      <script><![CDATA[currentIndex = meetingIndex;]]></script>
    </scriptTask>

As explained in Release note 5.12.1 you have to call  execution.setVariable("variableName", variableValue) to set process variables. And for backwards compatibility it is possible to use "autoStoreVariables". But is this possible to do in running processes?

http://www.activiti.org/readme.html

Thanks
1 REPLY 1

trademak
Star Contributor
Star Contributor
You could migrate running instances to the new process definition version containing the "autoStoreVariables" option. But migrating process instances can be complex when there's parallel or multi instance behaviour etc.

Best regards,