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
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Workspace address (URL) | String | No | Workspace address, e.g. https://adb-1234567890123456.7.azuredatabricks.net or https://dbc-a1b2c3d4-e5f6.cloud.databricks.com. | |
| Job ID | String | Yes | Job to start: its name or id (see List jobs). | |
| Job parameters | Dictionary | No | Job parameter values, e.g. {"run_date": "2026-10-20"}. | |
| Wait | Boolean | No | false | Wait for the run to end before going on. |
| Timeout (seconds) | Number | No | 3600 | Stop waiting after this many seconds and fail with WAIT_TIMEOUT (the run goes on in Databricks). |
| Fail if run fails | Boolean | No | true | When waiting, stop the agent with an error if the run does not succeed. |
| Access token | Credential | No | Databricks 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 ID | String | No | Application (client) id of a service principal, to sign in with OAuth instead of a personal access token (G6). | |
| Client secret | Credential | No | The service principal's OAuth secret from the vault (G6). |
Outputs
| Output | Type | What it is |
|---|---|---|
| run_id | String | Id of the job run. |
| life_cycle_state | String | Where the run is, e.g. PENDING, RUNNING or TERMINATED. |
| result_state | String | SUCCESS, FAILED, TIMEDOUT or CANCELED once it has finished; empty before that. |
| run_page_url | String | Link to the run in the Databricks workspace. |