Hi,
I am looking for a way to delete a process definition which has instances in ACTIVE state.
I tried suspending the instances and then a DELETE on process definition. But did not help.
Thanks in advance.
Deepika
Hi,
I am looking for a way to delete a process definition which has instances in ACTIVE state.
I tried suspending the instances and then a DELETE on process definition. But did not help.
Thanks in advance.
Deepika
Did you try deleting it via the REST API?
Hi, thanks for a nice Camunda Con 2019 in Berlin!
I have listed the deployed process definitions with the following rest call:
http://camunda/rest/deployment
How do I safely delete all the ones I want to get rid off? Will also following subprocesses, data, etc be safely deleted?
Br
Frank
Hi Frank,
I’d suggest you use this call and simply make sure you add the cascade variable, set to true.
another option is to delete the complete Deployment entity with all process definitions and process instances included: https://docs.camunda.org/manual/7.12/reference/rest/deployment/delete-deployment/
What’s your choice? (And your requirement)
Cheers, Ingo
i need to delete all process instances that are completed (eliminate instances, audit data, variables, everything)