Azure Databricks · Arazzo Workflow
Azure Databricks Import a Notebook and Run It
Version 1.0.0
Import a notebook, confirm it landed, then submit a run of it.
View Spec
View on GitHub
AnalyticsApache SparkBig DataData EngineeringMachine LearningArazzoWorkflows
Provider
Workflows
import-notebook-and-run
Import a notebook into the workspace, confirm it, and run it.
Imports notebook content, verifies it with getWorkspaceObjectStatus, submits a one-time run, then polls getJobRun until TERMINATED.
1
importNotebook
importWorkspaceObject
Import the base64-encoded notebook content to the target path in SOURCE format, overwriting any existing object.
2
confirmImport
getWorkspaceObjectStatus
Confirm the imported object exists at the path and is a NOTEBOOK before attempting to run it.
3
submitRun
submitRun
Submit a one-time run of the imported notebook on the existing cluster and capture the run_id.
4
pollRun
getJobRun
Retrieve the run state. Repeat until the run life_cycle_state is TERMINATED, then end with the final result_state.