Cancel process instances (batch)Added in 8.8
POST/process-instances/cancellation
Strongly Consistent About endpoint data consistency
Cancels multiple active or suspended process instances.
Only ACTIVE and SUSPENDED root instances can be cancelled. A state filter narrows the batch
to the given states. Requesting any state other than ACTIVE or SUSPENDED through the $eq or
$in operators is rejected. Other state operators ($neq, $exists, $like) are applied as
given, and the batch remains limited to ACTIVE and SUSPENDED instances. Without a state filter,
both ACTIVE and SUSPENDED instances are selected. Any given filter for parentProcessInstanceKey
is ignored and overridden during this batch operation.
This is done asynchronously, the progress can be tracked using the batchOperationKey from the response and the batch operation status endpoint (/batch-operations/{batchOperationKey}).
Request
Responses
- 200
- 400
- 401
- 403
- 500
The batch operation request was created.
The process instance batch operation failed. More details are provided in the response body.
The request lacks valid authentication credentials.
Response Headers
Forbidden. The request is not allowed.
An internal error occurred while processing the request.