Solved

Hello There

  • 23 January 2023
  • 8 replies
  • 42 views

Badge +1

Hello There,
I was trying to automate a bot that creates a docx certificate for each employee and it was working well at the first run, but once I start to run the bot over and over again, this error message appears ''The process can't access the file because it's being used by another process '' and I can't do anything.

 

 

 

icon

Best answer by ChanduMohammad 23 January 2023, 18:08

View original

8 replies

Userlevel 4
Badge +7

@Shells 371 seems the document already open, use close word document before running the process or opening the file…. so that it will close any open session with that document .

Userlevel 4
Badge +8

Hi @Shells 371 

In your code add last step as closing the Word extension files to avoid above error. basically you need to clear the environment i.e closing the apps that have used so next run will be smooth.

Badge +1

@Shells 371 seems the document already open, use close word document before running the process or opening the file…. so that it will close any open session with that document .

 

@rbkadiyam Thank you for your prompt response!

How to do so, is there an action for that?

Badge +1

@ChanduMohammad  Thank you for your prompt response!

How to do so, is there an action for that?

Userlevel 4
Badge +7

@Shells 371 
 

 

Userlevel 4
Badge +8

@ChanduMohammad  Thank you for your prompt response!

How to do so, is there an action for that?

Hi @Shells 371 

Can you try below command and let us know if that helps?

 

Badge +1

Thanks a lot @ChanduMohammad , It works🤸🏽

Userlevel 4
Badge +8

Thanks a lot @ChanduMohammad , It works🤸🏽

Awesome @Shells 371 

Mark my Answer as Best so it will help other as well.

Reply