cancel
Showing results for 
Search instead for 
Did you mean: 

How to Delete deployed process.

sherlock
Champ in-the-making
Champ in-the-making
Hi,


I am trying to deploy sample activiti-cdi_jsf code of book-cdi from Activiti in Action Manning book.
when i deployed the project for the first time the bookorder.bpmn is deloyed. If i deploy that project
again it's  deployed the process with a version change but the old one exists. So my question is how to delete the old deployment. How to show the particular deployed process..



Thanks
Sherlock
1 REPLY 1

frederikherema1
Star Contributor
Star Contributor
You can use the deploymentQuery() or processDefinitionQuery() to get hold of the ID of the deployment, containing the old version. You can delete that deployment a del…