Hello everyone!
I have a process which design in Eclipse and run on Activiti Explorer. After successful run, I updated my code in Eclipse and create deployment artifact, I copied new .bar file to Activiti Explorer and started it. But when I check Tomcat log, it's use old code instead of my new code.
How I can update it?
When you say you've copied the .bar file, I assume you mean you've uploaded the new .bar using the manage deployments option ?
Can you see the new version of your process by looking at the list of processes and the database tables via Explorer, or can you only see the old version ?
What version of Activiti are you using.
Yeah I can see my process have version 2,3,4... but it still run old code in my class. I use Activiti 5.22.0.
When you say it runs the old code in your class, do you mean a class you have modified that is called by the process, e.g. a service task or listener ? If so, I think you have to update those yourself, wherever they are on the classpath.
When I update my code and processes I upload the new .bar and deploy a new version of a .jar containing my classes.
Thank for your replies. I fixed it.
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.