Azure Databricks · Arazzo Workflow
Azure Databricks Cancel an Active Job Run
Version 1.0.0
Cancel a run and poll until its life cycle state is TERMINATED.
View Spec
View on GitHub
AnalyticsApache SparkBig DataData EngineeringMachine LearningArazzoWorkflows
Provider
Workflows
cancel-active-run
Cancel a job run and wait until it is fully TERMINATED.
Reads the run to confirm it is active, cancels it, then polls getJobRun until life_cycle_state is TERMINATED.
1
readRun
getJobRun
Read the run to confirm it is currently active before issuing a cancel request.
2
cancelRun
cancelJobRun
Issue the cancel request. Cancellation is asynchronous so the run may still be running immediately afterwards.
3
pollRun
getJobRun
Retrieve the run state. Repeat until the run life_cycle_state is TERMINATED, confirming the cancellation took effect.