I am working on a code to get the latest log from cloud orchestrator for all the BOTs connected to our tenant. We use modern folders and multiple Robots are running in those folders.
When I used orchestrator http activity request to get logs, filtered by Robot ID, it returned the log of another Robot in that folder. I also tried filtering by MachineName, but that did not work either.
Why is the filter not working within the subfolders? Is it something not supported by UiPath activity?
I tried using the plain Http Request activity to get the access token and then get the logs, however I do not have the authorization to do that, so would want to get it done using ‘Orchestrator http Request’ activity.
You’re going to have to first get a list of all folders then loop through the folders and collect the data folder by folder. It’s one of the maddening things about modern folders.
Hi @postwick , I am getting the data folder by folder. I am not facing issues getting data from folder when i use ‘Orchestrator http request’ activity, however, I am not able to get the logs from a folder specific to BOT.
Ex:
In my folder Default/My Folder, I have 10 Robots running. I need the latest log from all 10 BOTs. Instead, even though I have put a filter(based on Robot ID) to get the details, I am getting logs from a single random robot from that folder.
This is for the ‘https request’ activity and not ‘Orchestrator https request’ activity right? What are the headers/parameters that i need to add? I want to try this out. Can you please let me know the properties to be updated?