Cancel a Job's Active Run
A 3-step recipe with Databricks. We can help you get access.
Recipe · 3 steps
Cancel a Job's Active Run
with Databricks
Locate a job's active run and cancel it.
- List active runs for the job and capture the first active run_id.
- Cancel the active run. Cancellation is asynchronous; the run transitions to a TERMINATING state.
- Read the run back to confirm it has left the RUNNING state after the cancel request.
What you'll need to have ready
- job_id: The job whose active run should be cancelled.
For your developer
Arazzo workflow databricks:cancel-active-run, 3 operations: listJobRuns → cancelJobRun → getJobRun. Specs on APIs.io.