capabilities.work

Cancel Job Run and Confirm Terminal

A 2-step recipe with Databricks. We can help you get access.

Recipe · 2 steps

Cancel Job Run and Confirm Terminal

Cancel a run and confirm it reaches a terminal state.

  1. Request cancellation of the active run. Cancellation is asynchronous and the run transitions to a TERMINATING state.
  2. Read the run metadata and inspect the life cycle state. Loop back while the run is still TERMINATING; finish once it is TERMINATED.
What you'll need to have ready
  • run_id: The canonical identifier of the run to cancel.
For your developer

Arazzo workflow databricks:cancel-run-and-confirm, 2 operations: cancelJobRun → getJobRun. Specs on APIs.io.