03-15-2017 11:27 AM
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.
03-16-2017 01:00 PM
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
03-15-2017 11:31 AM
03-15-2017 11:34 AM
I meant when i start the process again form the Deployed process definitions.
Thankyou.
03-15-2017 11:36 AM
03-16-2017 01:00 PM
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
03-16-2017 01:11 PM
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
03-16-2017 01:21 PM
Yes, Thank you for your help though.
03-16-2017 01:23 PM
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
Explore our Alfresco products with the links below. Use labels to filter content by product module.