capabilities.work

Cancel an Active Job Run

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

Recipe · 3 steps

Cancel an Active Job Run

Cancel a job run and wait until it is fully TERMINATED.

  1. Read the run to confirm it is currently active before issuing a cancel request.
  2. Issue the cancel request. Cancellation is asynchronous so the run may still be running immediately afterwards.
  3. Retrieve the run state. Repeat until the run life_cycle_state is TERMINATED, confirming the cancellation took effect.
What you'll need to have ready
  • token: Databricks personal access token for the Authorization header.
  • runId: The canonical identifier of the run to cancel.
For your developer

Arazzo workflow microsoft-azure-databricks:cancel-active-run, 3 operations: getJobRun → cancelJobRun → getJobRun. Specs on APIs.io.