Skip to main content
Solved

Hello There


Forum|alt.badge.img+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.

 

 

 

Best answer by ChanduMohammad

Shells 371 wrote:

@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?

 

View original
Did this topic help answer your question?

8 replies

rbkadiyam
Flight Specialist | Tier 4
Forum|alt.badge.img+17
  • Flight Specialist | Tier 4
  • 587 replies
  • January 23, 2023

@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 .


Forum|alt.badge.img+19
  • Most Valuable Pathfinder
  • 2694 replies
  • January 23, 2023

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.


Forum|alt.badge.img+1
  • Author
  • Cadet | Tier 2
  • 3 replies
  • January 23, 2023
rbkadiyam wrote:

@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?


Forum|alt.badge.img+1
  • Author
  • Cadet | Tier 2
  • 3 replies
  • January 23, 2023

@ChanduMohammad  Thank you for your prompt response!

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


rbkadiyam
Flight Specialist | Tier 4
Forum|alt.badge.img+17
  • Flight Specialist | Tier 4
  • 587 replies
  • January 23, 2023

Forum|alt.badge.img+19
  • Most Valuable Pathfinder
  • 2694 replies
  • Answer
  • January 23, 2023
Shells 371 wrote:

@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?

 


Forum|alt.badge.img+1
  • Author
  • Cadet | Tier 2
  • 3 replies
  • January 23, 2023

Thanks a lot @ChanduMohammad , It works🤸🏽


Forum|alt.badge.img+19
  • Most Valuable Pathfinder
  • 2694 replies
  • January 23, 2023
Shells 371 wrote:

Thanks a lot @ChanduMohammad , It works🤸🏽

Awesome @Shells 371 

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings