Cancelling Workflow Executions

It is possible to cancel an execution whose status is pending, started or queued.

There are three types of execution cancellations:


When the execution’s status changes to cancelled, it means the workflow execution has completed, meaning no new tasks will be started; However, tasks that have already been started might still be executing on agents. This is true for both Standard and Forced cancellations (but not for kill cancellations).

Cancelling an execution whose ID is `SOME_EXECUTION_ID` from the CLI can be done using the following command:

cfy executions cancel SOME_EXECUTION_ID

To use force or kill cancellation instead, simply add the force or kill flags. For a syntax reference, see the CLI commands reference.