I’m trying to follow the documentation for using a VB script with parameters: (https://docs.automationanywhere.com/bundle/enterprise-v2019/page/enterprise-cloud/topics/aae-client/bot-creator/commands/vbscript-run-function.html)
I have a working script which I can execute from outside of AA to add x number of business days to a date. This script is tested and working. However, I cannot get it to execute in AA.
- I have created a list variable for the parameters as instructed in the documentation
- I have added two string parameters to the list
- I’m using the list variable in the Parameters (optional) input for ‘Run Function’
- I’m saving the output to a string variable
All I get is ‘bot error’ when I run this.
Note that I have tried adding quotations around the strings before adding them to the list. Same result. Can someone please tell me where I’m doing something wrong here?
Here is the script for reference:
Best answer by JMarinoView original