How to get bot id, machine id, run id, bot name, machine name in automation anywhere. I need to add these details in logs.
Thanks
You can get these details from endpoints
Device ID and device name
id bot
See run id in the historical section :
HTH
Regards
Hi
- Username extraction : Using Package → System → Action→ Get Environment Variables
- BOT Name extraction : Under Variables → System → AATaskName
You can get these details from endpoints
Device ID and device name
id bot
See run id in the historical section :
HTH
Regards
How to assign these values in a variable??. Thank you for the answer
Hi
- Username extraction : Using Package → System → Action→ Get Environment Variables
- BOT Name extraction : Under Variables → System → AATaskName
You can get these details from endpoints
Device ID and device name
id bot
See run id in the historical section :
HTH
Regards
How to assign these values in a variable in a code??. Thank you for the answer
Hi
- Username extraction : Using Package → System → Action→ Get Environment Variables
- BOT Name extraction : Under Variables → System → AATaskName
You can get these details from endpoints
Device ID and device name
id bot
See run id in the historical section :
HTH
Regards
How to assign these values in a variable in a code??. Thank you for the answer
Hi
whose response are you talking about?
You can use Control, room api to get this information and parse the json result into variables
You can use Control, room api to get this information and parse the json result into variables
I cant find that api endpoint in control room api that returns bot and device details. Can you please tell where to find that specific api
You can find it here https://baobab-sbx.cloud-4.automationanywhere.digital/swagger/
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.