Now, we are ready to process the rest of the invoices we placed in the Test folder. We will create a Task Bot that will loop through the Test folder and upload all the documents to IQ Bot. Follow these steps:
- Let's go back to the Automation Anywhere A2019 Control Room home page. Note that this is different from the IQ Bot home page. Go to My Bots and then Create a bot, just like we did for our past A2019 projects. Name the bot Invoice Upload (or any name that you'd like to use to identify the bot):
- On the new bot canvas, add a Loop action. Since we need to loop through each file in the Test folder, we'll set Iterator to For each file in folder. Provide the Folder path as the complete path to the Test folder. Finally, choose the wizard and add a Dictionary variable called File for the Assign file name and extension to this variable input box:
- Next, add an IQ Bot step so that you can upload...