-
Is it possible to delete bulk of running process instances/task instances including complete history data for specific tenant?
-
If we delete process definition for that tenant, will it remove runtime+history data of that tenant?
Hi @aravindhrs,
-
from the docs I don’t see a query parameter for the tenant ID: https://docs.camunda.org/manual/7.11/reference/rest/process-instance/post-delete/. You have to query for process instances of a tenant first and pass the ids to the DELETE call.
-
if you call it with
cascade=true
, yes.
Hope this helps, Ingo
@Ingo_Richtsmeier thanks. I found in the docs(DELETE processdefinition/{procDefKey}) that if we remove process-definition it will remove runtime+historic data too. As you said, we need to set cascade=true.
Thanks again.