Hi All,
What is the best way to mass delete process instances that belongs to a process definition? I am talking about 200K+ process instances. Deleting deployment with cascade doesn’t help due to the high amount of process instances.
Hi All,
What is the best way to mass delete process instances that belongs to a process definition? I am talking about 200K+ process instances. Deleting deployment with cascade doesn’t help due to the high amount of process instances.
Hi @srht,
You can try below REST call to do async (batch) deletion of running instances
https://docs.camunda.org/manual/7.17/reference/rest/process-instance/post-delete-historic-query-based/
And below REST call to do async (batch) deletion of historic process instances
https://docs.camunda.org/manual/7.17/reference/rest/history/process-instance/post-delete/