I have a use case where I have to download a pdf file and check if I need the file or not.
If I dont need the file, I delete the file in the folder and download a different file again and repeat the process.
When I try to delete the contract - I get the message “The Process cannot access the file because its being used by another process “pdf” file”. The bot is able to delete the pdf for first 2 times but after that I see this error.
I have looked at all the posts regarding this and tried them but nothing has worked. Studio version 2020.10.4
hello @Sairam_RPA ,
From my understanding of your problem,
could you please try to kill process activity with process name property as “ACROBAT” Or mention as “AcroRd32”.
and i think you are converting from excel to pdf please you can see there is a box - “open file after publishing” , uncheck that box .
Now pdf will not open after getting converted from excel.