Get robot name


hi all
i need to retrieve robot name as in the pic from get jobs activity !

1 Like

Hi @Yazan_Otaibi

you can retrieve the machine name from the environment variable, like below

MachineName = Environment.MachineName //Returns the machine name

Hope this helps,
Best Regards.

1 Like

hi @arjunshenoy

no i want robot name

  • im working on a seq to retrieve the name of robot for all jobs, not in the same workflow that run the job so its will be difrent

Hi @Yazan_Otaibi

There are no direct functions available to get robot name , you have to rely on API for that

Check this post

Hope this helps


This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.