I have an automation that loops through Orchestrator folders and for each folder it gets counts of Jobs. When I run it through Studio I get correct results. When I run it through unattended I get no results. In both cases, I’m running it on the same server under the same robot account.
Why would the API give different results in Studio vs unattended, when the server and robot are the same?!
How are you connecting to API to fetch the results? via orchestrator http request or simple http request?
The only reason I can think of wrt difference in results can be related to which activity you are using to interact with apis as Orchestrator http request activity works by authenticating under the user/Robot it is executed on.
But if you have setup an external application and using the same to authenticate, results would be same via studio and unattended mode.
I’m using Orchestrator HTTP Request. The results are different when I remote into the server with the same robot and run it in Studio vs when I run it unattended under that same robot.