Hi Everyone,
I have created a process in which there are multiple script tasks and services task. In the script the variables are both get and set from execution.getVariable and execuition.setVariable.
The problem is that when once the process is completed, and i try to start it again it shows duplicated values until i deploy the entire model workspace again and run the process.
Please advice.
Thank you.
Solved! Go to Solution.
I have figured out the solution, There was an issue in the custom classes i made. It didn't actually clear the variables set in the execution.
Thank you
I meant when i start the process again form the Deployed process definitions.
Thankyou.
I have figured out the solution, There was an issue in the custom classes i made. It didn't actually clear the variables set in the execution.
Thank you
Ahh yes, something to be aware of is that any JabaDelegate (service implementation) is shared across all instances. Meaning, you need to think of it as a singleton as class level properties could potentially bleed across instances.
This is mentioned in the users guide but probably not highlighted.
Greg
Yes, Thank you for your help though.
Can you help out with writing an if condition in expression language? Which works in Activiti. I have posted a question on profile if you want to have a look at it.
Thank you
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.