How get the job status?

Hai Everyone! I’m trying to trigger the UiPath workflow from an external application.
Then I want update the workflows execution status of the particular job in the db of my external application. while trigger the workflow from my application, the status set as pending initially. I want to update the status after sometime of the execution.
Can any one help me to achive this??

Looking for answers!!

The way to do this would be to route it all through the Orchestrator, using the APIs there to start jobs etc. Have you tried that?

Yes, Orchestrator APIs help you to achieve this. Orchestrator swagger will give you all required APIs.

Hi,

To trigger a UiPath workflow from an external application and then update the job execution status in your own database, you need to use the UiPath Orchestrator API (or Automation Cloud API). The general approach is:

1.Start the Job from Your Application

Use the Start Job API to trigger the UiPath process.
Your application will receive a Job ID in the API response.
Store this Job ID in your DB with status = Pending.


2. Poll the Job Status Using Orchestrator API

UiPath does not automatically notify your external app of job completion unless you use webhooks, so the simplest method is polling.

Using the Job ID, call:

GET /jobs/{jobId}

The job will move through statuses such as:

  • Pending
  • Running
  • Successful
  • Faulted
  • Stopped

You can check the status every few seconds/minutes and update your DB accordingly.

3. (Better Option) Use UiPath Webhooks

Instead of polling, you can configure Orchestrator Webhooks to notify your application whenever a job status changes.

Steps:

  1. Go to Orchestrator → Tenant → Webhooks
  2. Create a webhook pointing to an endpoint in your external app (e.g., /job-status-update)
  3. Select event: Jobs.Updated
  4. When UiPath updates a job, your endpoint will receive a JSON payload containing:
  • jobId
  • process name
  • new status
  • start/end time

Your application can update the DB instantly without polling.


4. Update Your Application’s Database

When your app receives the updated status (via polling or webhook), update your DB record for that Job ID:

  • If job status = Successful → mark as Completed
  • If job status = Faulted → mark as Failed
  • If job status = Running → mark as In Progress

Please, kindly let me know if any of the above approaches work, or else send more details regarding the issue.

Thanks.

will the webhooks support for community edition?

Community edition is for non-commercial use and this sounds like commercial requirements. If so please buy a licence.

Yes webhooks are generally supported for community edition but with limitations, please kindly let me know if you want more detailed list on what can webhooks do in community version vs enterprise version