How to check how many processes are running on one machine/VSI? Is there any API for this task that can find out the number of processes…?
Hello @aditi.kumari Welcome to the UiPath Community Forum
You can query the SQL data from UiPath Tables and use jobs API to query :
https://orchestrator_url/odata/Jobs?$filter=State eq ‘Running’ and RobotId eq "Mahcine_Name’
You will need to have API Authorization details - Client Secret & Key to generate the bearer token.
Thanks
1 Like
Do I need to hit jobs API from swagger? Will it outcome the number of jobs running on a VSI?
@aditi.kumari Yes, if you have all required details you can test the configuration from Swagger. I don’t have working knowledge on it, but yes.
Thanks
