capabilities.work

Update a Job and Re-run It

A 4-step recipe with Azure Databricks. We can help you get access.

Recipe · 4 steps

Update a Job and Re-run It

Partially update a job, then run it and wait for the run to finish.

  1. Read the job to capture its current name and confirm it exists before updating.
  2. Partially update the job settings with a new timeout. Only the supplied settings are changed; all others are left intact.
  3. Trigger a fresh run of the updated job and capture the run_id for polling.
  4. Retrieve the run state. Repeat until the run life_cycle_state is TERMINATED, then end with the final result_state.
What you'll need to have ready
  • token: Databricks personal access token for the Authorization header.
  • jobId: The canonical identifier of the job to update and re-run.
  • newTimeoutSeconds: New timeout in seconds to apply to the job settings.
For your developer

Arazzo workflow microsoft-azure-databricks:update-job-and-rerun, 4 operations: getJob → updateJob → runJobNow → getJobRun. Specs on APIs.io.