I have a problem with deleting the excel file after I use it as an attachment to the Send Outlook Mail Message activity.
It says, Delete: The process cannot access the file ‘C:\file.xlsx’ because it is being used by another process.
I tried using Kill Process activity before the Delete activity for both EXCEL.EXE and OUTLOOK.EXE. It didn’t work out. I also tried putting some Delay before and after them, no way.
Any ideas will be appreciated.