web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Failure to exit file-i...
Power Automate
Unanswered

Failure to exit file-instance causing file to be locked out

(0) ShareShare
ReportReport
Posted on by

A file I have is locked from editing/deleting because my PAD flow failed on the step to close the instance. I've tried closing the program and restarting my computer, but the file still remains lock, with the error message "the file is in use by another application".

 

So my question is:

  1.  How can I get rid of this error message on my existing file, and 
  2.  How can I prevent this from happening in the first place?
    • I see there is an "On Error" option, so does this mean for each instance I open and close, I need to create a specific sub flow to close the errored instance?

Thank you

 

I have the same question (0)
  • VJR Profile Picture
    7,635 on at

    Hi @Sthiven 

     

    Make sure the file or its related process is nowhere seen in the Task Manager.

     

    Yes, that's the exact way of a proper error handler.

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 233

#2
David_MA Profile Picture

David_MA 217 Super User 2026 Season 1

#3
Valantis Profile Picture

Valantis 190

Last 30 days Overall leaderboard