AnsweredAssumed Answered

store a scriptTask variable

Question asked by tomi87 on Mar 6, 2013
Latest reply on Mar 15, 2013 by tomi87
Hello I try do define a variable with a value in a scriptTask, then I want to set the variable in a userTask to a object, and then to overwrite the old object with the new variable in an other scriptTask.
variable= 123456789
<activiti:formProperty id="variable"   expression="#{object.variable}" type="long" />
<script><![CDATA[execution.setVariable("object", execution.getVariable("object"));]]></script>

But if i trie to test this, it's doesn't work the variable isn't stored in the object.
Is there maybe an other way to store a variable from a scriptTask in in this object ?

Best regards