As part of automation I create 6 excel files in the working folder. I delete the files from the working folder before every run. This works 90% of time but 10% of time the bot fails at the delete step.
There are no files in the folder in the folder. I rerun the bot and I get the same error until I restart the machine. I have created a test bot to show the steps.
Error : File:com.automationanywhere.botcommand.exception.BotCommandException: Unable to delete the file(s) 'C:\Automation Anywhere\Management Reporting and Planning\Working Folder\~$EmpManagerMapping_022024.xlsx' because access is denied. - 16