I have a supporting script (PowerShell) that is called by an A360 automation by invoking the PowerShell interpreter and passing it a variable that contains the path to the script file. The script file is currently deployed manually between dev/model/prod regions, so I store the full path to that region's script in a credential locker. However, the script itself doesn't change between regions.
I've noticed that A360 allows me to upload an arbitrary file to my task bot folder, and I can place the script there. This will relieve the burden of deploying the script manually between regions, however, I still need to be able to store the path to the script as a variable within the bot, so that the bot can invoke the PowerShell interpreter and tell it the path to that script. How can I assign and retrieve the path to a file uploaded to and deployed from the repository as a variable from within a bot?