Skip to main content

Run job now

Start a job right away, optionally with parameters, and wait for it to finish if you like.

Command in the Databricks toolkit · id ooa.databricks/run_job · 9 inputs (1 required), 4 outputs

Inputs​

InputTypeRequiredDefaultWhat it is
Workspace address (URL)StringNoWorkspace address, e.g. https://adb-1234567890123456.7.azuredatabricks.net or https://dbc-a1b2c3d4-e5f6.cloud.databricks.com.
Job IDStringYesJob to start: its name or id (see List jobs).
Job parametersDictionaryNoJob parameter values, e.g. {"run_date": "2026-10-20"}.
WaitBooleanNofalseWait for the run to end before going on.
Timeout (seconds)NumberNo3600Stop waiting after this many seconds and fail with WAIT_TIMEOUT (the run goes on in Databricks).
Fail if run failsBooleanNotrueWhen waiting, stop the agent with an error if the run does not succeed.
Access tokenCredentialNoDatabricks personal access token or OAuth token from the vault. Or leave it empty and choose a connection that signs in, which gets and renews the token.
Client IDStringNoApplication (client) id of a service principal, to sign in with OAuth instead of a personal access token (G6).
Client secretCredentialNoThe service principal's OAuth secret from the vault (G6).

Outputs​

OutputTypeWhat it is
run_idStringId of the job run.
life_cycle_stateStringWhere the run is, e.g. PENDING, RUNNING or TERMINATED.
result_stateStringSUCCESS, FAILED, TIMEDOUT or CANCELED once it has finished; empty before that.
run_page_urlStringLink to the run in the Databricks workspace.