I wish to send periodic updates to my client about the status of their queue. Ideally, I wish to send them the export of the queue that is available on the ochestrator via email.
I can do this manually by pushing the blue button on the queue page on the orchestrator and sending them an email. Is there a way to automate this, either using a robot or directly from the orchestrator? How does one do that?
Welcome back to the community!!
Sorry for my late reply… However, as @Sourav_Anand suggested, you can try using the Orchestrator API to get the needed information. This will be much more better approach than going through the interface of the web page.
Thanks to some timely help from UiPath support, I was able to resolve this issue. I am documenting it here so that it may help other people looking for such a solution.
Open the swagger link for your respective orchestrator instance (usually has the following format - UiPath) .
Obtain your queue’s definition id. You can get this using the following steps:
i Go to your orchestrator URL and open developer mode (Ctrl+Shift+I on Chrome)
ii Open the queues page
iii From the Network Panel, you should see all the required metadata that refers to the queue (Click on the Network Tab, push Ctrl + R and click on the Preview Tab)
iv Note down the queue definition id from the list (refer to image below)
The end point is mentioned in the “Request URL” field.
Enter the Request URL in the “RelativeEndpoint” field of a Orchestrator HTTP Request activity, with GET as the method
When you execute the Orchestrator HTTP Request activity, you obtain the report as a string in the JSON Reponse. You can then save this file as a CSV file and then send this as an email for automated reporting.