Cancel the running process using REST API


How can cancel all the process for a BPM Flow using REST API?

Please provide an example.


1 Like

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.


Hi @sridhar_akella,

it’s a feature of cockpit in the enterprise edition:

Here you can find more information about it:

Cheers, Ingo

1 Like