How do we get all queue names of orchestrator from studio using http request

Hi all,

I needed an help to get the queuenames from orch through studio.
Could you please let me know the endpoint and steps to achieve

@Palaniyappan @Anil_G any inputs here

1 Like


Use orchestartor http request

the end pint is odata/queueitems

Please check this for more



But endpoint says queue items.does it give queue name? @Anil_G


Sry i misread it…please use this


please check the swagger for more info


But I am getting some html content when I hit that @Anil_G

By the way I am using orch http request activity


its not html…you will get a json response

you need to deserialize it and then use

for loop with jsondata("value").Cast(Of Jobject)

and inside loop use currentItem("Name").ToString


1 Like

@Anil_G what does value stand in that for each syntax


You can get through api and have a view on this doc from postman

Try out first in postman and replicate the same with UiPath https request activity


You can also try with swagger where u can try out and see how api call works and mimic the same in UiPath studio
In order to open swagger for your orchestrator url
depending on your deployment type:

  • on-premise - add the following suffix: /swagger/index.html to your Orchestrator URL. For example,
  • Automation Cloud - add the account and tenant name, as well as the /swagger/index.html suffix to the URL. For example,[AccountLogicalName]/[TenantName]/swagger/index.html.

Find your Account Logical Name and Tenant Namein the API Access page of your Automation Cloud account.

There u can try this out

Cheers @Harshita_D


value is the key where all the queue definitions are stored in response as jarray

To loop jarray items using for loop…and inside each item you have each queue name which is stored in name key

Hope this clarifies


Here in my case agar should I pass in for each list of items



In for loop select type argument as jobject

And in your deserial also please select jobject instead of using object…I see object selected as of now

And your relative end point is test which is wrong…please use it properly


Ha I created a sample @Anil_G just to show you

End point is updated in the code as expected

@Anil_G all done but not able to change type of argument in for loop


Then please use output2("value").Cast(Of Jobject)

With this you need not change type argument


No I am getting an error


Did you change the type argument to jobject in deserialize json activity?

I feel you dint


Yes I did, I made it to newtonsoft.json.linq.jobject


And i hope your output2 is of type jobject…please check in the variable panel…it ahould be jobject