Skip to main content

Get job

Read the state of another run: running, success, failed or stopped, when it started and ended, and its error. The run's user must be allowed to see runs of that agent.

Command in the Jobs and alerts toolkit · id ooa.jobs/get_job · 1 input (1 required), 2 outputs

Inputs​

InputTypeRequiredDefaultWhat it is
Job IDStringYesThe run's id.

Outputs​

OutputTypeWhat it is
jobDictionaryid, bot_path (the agent), status, requested_by, run_as, device_name, created, started, finished, duration_ms, error_code, error_message.
statusStringqueued, running, success, failed or stopped.