Trigger Uipath Project using API call?

Hey @logesh_kumar1

Are you using Cloud Orchestrator here ?

Thanks
#nK

yes , I am using that only

Hey @logesh_kumar1

Check if this helps you.

Thanks
#nK

thank you so much. Do you have xaml files or postman collection for trigger workflows thorugh API.?

1 Like

Actually not @logesh_kumar1

But I have guided for same scenario for @Kakooza-Allan-Klaus Can you please share if you have ?

Yes @Nithinkrishna

Hope that helps @logesh_kumar1

1 Like

Hey @Kakooza-Allan-Klaus

Also the code piece you built for triggering the job please?

Thanks
#nK

Unfortunately I don’t have access to the code in postman

1 Like

Not postman just the UiPath one.

Which code exactly?

Hey @Kakooza-Allan-Klaus

You were trying to trigger a job through Orchestrator API right. We just need that part of your code please !

Thanks
#nK

I triggered the automation from postman not the code itself

https://github.com/Klaus20/MortgageCalculator

That’s the link to the project though

Okay @Kakooza-Allan-Klaus Thanks for your help

@logesh_kumar1 did you made any progress pls ?

Am trying to him resolve the issue

No @Nithinkrishna still struck on the same issue. Tried to add external application also. even though not able to get what I want.

@Kakooza-Allan-Klaus not able to access the page. showing page not found

Hey @logesh_kumar1

So you are stuck at the External application right ?

Kindly refer this - Managing external applications

Thanks
#nK

Still not able to fix the issue @Nithinkrishna

1 Like

Hey @logesh_kumar1

So as discussed the below points,

  1. Make sure the External application is registered as Confidential app

Ref - Managing external applications

  1. The endpoint and the body should be properly formed with client credentials as grant type

Ref - Accessing UiPath resources using external applications

  1. Then with the Access token we can do the requests to any of the UiPath Orchestrator resources (provided the scopes are properly applied in the Authorization request)

Hope that helps

Thanks
#nK