Databricks · Arazzo Workflow
Databricks Drain Active Runs Then Delete Job
Version 1.0.0
Cancel a job's active run if present, then delete the job and its runs.
View Spec
View on GitHub
AIAnalyticsApache SparkBig DataClean RoomsCloud ComputingDataData AnalyticsData EngineeringData GovernanceDelta LakeDelta SharingETLIdentity ManagementLakehouseMachine LearningMLflowModel ServingSecuritySQLUnity CatalogVector SearchVisualizeArazzoWorkflows
Provider
Workflows
delete-job-and-cleanup-runs
Cancel any active run, then delete the job.
Checks for an active run and cancels it if present, otherwise proceeds directly to deleting the job and its run history.
1
listActiveRuns
listJobRuns
List active runs for the job. Branch to cancel when one exists, otherwise go straight to delete.
2
cancelRun
cancelJobRun
Cancel the active run before deleting the job.
3
deleteJob
deleteJob
Delete the job and all of its associated runs. This is permanent.