Hello all,
I had an weird error like this(File is used by another process) while deleting a file , I have used kill process → Delay and still having the same error
i had also checked with the Get processes activity and loop through all the running processes but there is no excel in that Collection, Any other things we can do to overcome this issue?
@Sudharsan_Ka Are you trying to delete the file inside excel application scope???
If yes use Delete file outside of excel activities and try. Also at the same time if you are getting the error, just try to delete the file manually as well.
As you have confirmed all the excel process are killed and not using the delete file inside excel scope. Can you try to restart your machine and try it once.
If still not working try to update all the project dependencies and try to execute the flow. Hope no other services or process are utilizing this file.
@Sudharsan_Ka if u use any workbook activity inside a excel application scope of same file it will throws an error like it is used by another process. I experienced it a week ago
Okay Thanks all of you , Actually the error is from mail activities ,it failed to connect to the Clients Server. So this is were the problem occurs if iam right.
The Mail activities are using those files