Enterprise 11: Enable bots to run on other computers
Botdevelopers must consider how bots function with the Bot Runner to allow bots to run on other computers.
Bot Runners are unattended computers (physical or virtual computers) whose job is to run the tasks presented to them. Because these Bot Runners have their own account login credentials, localized paths do not work.
The system variable $AAApplicationPath$ resolves this problem.
Relative path that works in Bot Runner:
C:\Users\UserName\Documents\Automation Anywhere Files\Automation Anywhere\My Docs\accounts.xlsx
$AAApplicationPath$\Automation Anywhere\My Docs\accounts.xlsx
Not only does this make the path shorter, but it also makes the bot portable. When preparing a TaskBot to work with Bot Runner or a co-worker's computer, use the $AAApplicationPath$ anywhere that points to a local file.