Databricks · Arazzo Workflow
Databricks Run Job and Branch on Success or Failure
Version 1.0.0
Run a job, wait for terminal state, then branch on the result state.
View Spec
View on GitHub
AIAnalyticsApache SparkBig DataClean RoomsCloud ComputingDataData AnalyticsData EngineeringData GovernanceDelta LakeDelta SharingETLIdentity ManagementLakehouseMachine LearningMLflowModel ServingSecuritySQLUnity CatalogVector SearchVisualizeArazzoWorkflows
Provider
Workflows
run-job-branch-on-result
Run a job and branch on SUCCESS vs failure to fetch output.
Runs the job, polls until TERMINATED, then branches on result_state to retrieve the success output or the failure error details.
1
runJobNow
runJobNow
Trigger an immediate run of the job and capture the run_id.
2
pollRun
getJobRun
Read the run and inspect the life cycle state. Loop while RUNNING or PENDING; once TERMINATED branch on the result state.
3
getSuccessOutput
getJobRunOutput
Retrieve the notebook result of the successful run.
4
getFailureOutput
getJobRunOutput
Retrieve the error and stack trace of the failed run for diagnosis.