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.
scriptTask:
variable= 123456789
UserTask:
<activiti:formProperty id="variable" expression="#{object.variable}" type="long" />
ScriptTask:
<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
tomi87