Solved
Use instance vars between executions
Hi, is there any way to save a variable at the end of a workflow execution and use it in the next execution of the same workflow?
I've tried with instance.vars but it doesn't work.
Hi, is there any way to save a variable at the end of a workflow execution and use it in the next execution of the same workflow?
I've tried with instance.vars but it doesn't work.
Hi @heku_ ,
1) Create an option under /Administration/Platform/Options/
2) Workflow:

In get option JS, you can call the previously updated instance variable value
getOption('internalNameOfTheOption');In setOption JS, you can update the Option value with instance variable.
instance.vars.myVariable = "abcd";
setOption ('internalNameOfTheOption', instance.vars.myVariable);
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.