UiPath Documentation
activities
latest
false
Integration Service activities

Get a Job Run

Get a Job Run activity in the Databricks connector.

Project compatibility​

Windows | Cross-platform

Overview​

DescriptionAPI MethodAPI Path
Retrieve the status of a Databricks job run by run_id. Poll until state.life_cycle_state is TERMINATED, then read state.result_state (SUCCESS, FAILED, TIMEDOUT, CANCELED).GET/jobs_run_get

Input​

ParameterDescriptionData Type
Databricks Job Run ID *ID of the Databricks job run, as returned by Run a Notebook. For example, 608649416412345.integer

* Required parameter.

Output​

ParameterDescriptionData Type
Run IDID of the job run.integer
Statelife_cycle_state (PENDING, RUNNING, TERMINATING, TERMINATED, SKIPPED, INTERNAL_ERROR), result_state and state_message.object
StatusNewer status object with state and termination details.object
Run Page URLDatabricks UI link for this run - the Spark log view.string
TasksTasks that make up the run, each with its own state and result.array
Run NameName of the run.string
Start TimeTime the run started, as a Unix timestamp in milliseconds.integer
End TimeTime the run ended, as a Unix timestamp in milliseconds.integer
Run Duration (ms)Total duration of the run, in milliseconds.integer
Note:

You might see variations in the output depending on where you run the activity. In API workflows and Maestro Flow, a single response object containing all the fields is returned. In RPA workflows, not all fields are exposed, but you can still retrieve them from the exposed response object.

  • Project compatibility​
  • Overview​
  • Input​
  • Output​

Was this page helpful?

Connect

Need help? Support(opens in new window)

Want to learn? UiPath Academy(opens in new window)

Have questions? UiPath Forum(opens in new window)

Stay updated