How to get the Robot Name?

Hi,
How to get the robot name from the Message Details we get while executing the process?
image

Thanks in advance

Hi @sneha_arbole

image

there is a function available to get machine name and username

if u want only robot name refer this below link

@nikhil.girish

Is there a way i can get the robot name without using API? How to fetch robot name from log messages?

Hi @sneha_arbole there is no direct function or method to get robot name

you may have to rely on API for it.

but as suggested earlier you can know the username and machine name by functions

Hi @sneha_arbole for that i used the “Get Current Job Info” activity, the output will hold a CurrentJobInfo variable, then you can get the robot name using
JobInfo.RobotName
(JobInfo is the name of the CurrentJobInfo variable)