Hi,
How can cancel all the process for a BPM Flow using REST API?
Please provide an example.
Thanks,
Sridhar
Hi,
How can cancel all the process for a BPM Flow using REST API?
Please provide an example.
Thanks,
Sridhar
Hi @sridhar_akella,
What do you mean by cancel? Do you want to delete or suspend all process instances? With “all the process” you mean all process instances belonging to one process definition, right?
In this case, have a look at the process instances rest api documentation. With Get Instances and setting the processDefinitionKey
property you can retrieve all process instances. Then you just need to delete or suspend every single one of them depending on what you want to achieve.
Best,
Johannes
Hi @sridhar_akella,
it’s a feature of cockpit in the enterprise edition: https://docs.camunda.org/manual/7.6/webapps/cockpit/bpmn/process-definition-view/#cancel-multiple-process-instances.
Here you can find more information about it: http://camunda.com/bpm/enterprise/.
Cheers, Ingo