UiPath · Arazzo Workflow

UiPath Start and Monitor a Job

Version 1.0.0

Start a job for a process and poll its state until it reaches a terminal outcome.

1 workflow 1 source API 1 provider
View Spec View on GitHub AutomationRobotic Process AutomationRPAArtificial IntelligenceDocument ProcessingEnterprise AutomationOrchestrationTestingArazzoWorkflows

Provider

uipath

Workflows

start-and-monitor-job
Start a job and poll until it reaches a terminal state.
Starts a job for the supplied release key in the supplied folder, then polls the job by ID until its State leaves the Pending/Running set.
2 steps inputs: folderId, inputArguments, releaseKey outputs: finalState, jobId, outputArguments
1
startJob
Start a single job for the supplied release key using the All allocation strategy in the supplied folder context.
2
pollJob
Retrieve the started job by its ID. Loop back while the job is still Pending or Running; otherwise fall through to record the terminal state.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: UiPath Start and Monitor a Job
  summary: Start a job for a process and poll its state until it reaches a terminal outcome.
  description: >-
    The canonical run-and-wait Orchestrator pattern. The workflow starts a job
    for a known release key, then repeatedly retrieves the job by its ID,
    looping while the job is still Pending or Running and ending once the job
    reaches a terminal state such as Successful, Faulted, or Stopped. Every step
    spells out its request inline so the flow can be read and executed without
    opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: jobsApi
  url: ../openapi/uipath-jobs-api-openapi.yml
  type: openapi
workflows:
- workflowId: start-and-monitor-job
  summary: Start a job and poll until it reaches a terminal state.
  description: >-
    Starts a job for the supplied release key in the supplied folder, then polls
    the job by ID until its State leaves the Pending/Running set.
  inputs:
    type: object
    required:
    - folderId
    - releaseKey
    properties:
      folderId:
        type: integer
        description: Numeric folder ID used as the organization unit context for the job.
      releaseKey:
        type: string
        description: GUID release key of the process to start.
      inputArguments:
        type: string
        description: JSON-serialized input arguments passed to the process.
  steps:
  - stepId: startJob
    description: >-
      Start a single job for the supplied release key using the All allocation
      strategy in the supplied folder context.
    operationId: startJobs
    parameters:
    - name: X-UIPATH-OrganizationUnitId
      in: header
      value: $inputs.folderId
    requestBody:
      contentType: application/json
      payload:
        startInfo:
          ReleaseKey: $inputs.releaseKey
          Strategy: All
          Source: Manual
          InputArguments: $inputs.inputArguments
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      jobId: $response.body#/value/0/Id
      jobKey: $response.body#/value/0/Key
  - stepId: pollJob
    description: >-
      Retrieve the started job by its ID. Loop back while the job is still
      Pending or Running; otherwise fall through to record the terminal state.
    operationId: getJob
    parameters:
    - name: key
      in: path
      value: $steps.startJob.outputs.jobId
    - name: X-UIPATH-OrganizationUnitId
      in: header
      value: $inputs.folderId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      state: $response.body#/State
      info: $response.body#/Info
      endTime: $response.body#/EndTime
      outputArguments: $response.body#/OutputArguments
    onSuccess:
    - name: stillRunning
      type: goto
      stepId: pollJob
      criteria:
      - context: $response.body
        condition: $.State == 'Pending' || $.State == 'Running'
        type: jsonpath
  outputs:
    jobId: $steps.startJob.outputs.jobId
    finalState: $steps.pollJob.outputs.state
    outputArguments: $steps.pollJob.outputs.outputArguments

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/uipath-start-and-monitor-job-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.