Question

Unable to delete the file(s) because they are being used by another process

  • 27 February 2024
  • 3 replies
  • 101 views

Badge

I am trying to delete a pdf file after it has been downloaded and bot sometimes will delete sometimes will not. PDF is not being opened or modified at this step. I have tried high delays but AA will not release pdf. 


3 replies

Userlevel 4
Badge +10

I am trying to delete a pdf file after it has been downloaded and bot sometimes will delete sometimes will not. PDF is not being opened or modified at this step. I have tried high delays but AA will not release pdf. 

It should not happen, request you to please try it manually once and also see it in task manager whether it is being used by another process or not.

 
Userlevel 3
Badge +10

be sure you use close:excel action before  before you delete. 

 

Badge +1

Hi,

I would suggest you to implement robust error handling in your automation script to capture any errors that might occur during the deletion process.

And I hope this will help you diagnose the issue more effectively if you didn’t try in past.

 

Thanks

Bamo

Professional (AWS Big Data)

Reply