How to get the flow of the specified robot from the API

Hi,

I want to use the API to know how many processes the robot is currently waiting to execute

pls give some advice

@davidsun

You can use get jobs api with filter on state for pending and robot for the robot you want to check

Please check swagger for more info <OrchestratorURL>/swagger/index.html

Cheers

Hi @Anil_G

Is it using the API?
image

If yes, how to add filters?
I tried adding a filters, but it didn’t work

Thanks

@davidsun

This is how you need to configure

Expression in filter : State eq 'Pending' And Robot/Name eq 'RobotNameYouNeed'

Makesure you use expand as well for Robot

But one thing here is robot might be empty for processes which are in pending and not allocated yet

cheers