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 / When a file is created...
Power Automate
Answered

When a file is created... and Timing of Turning on Flows

(1) ShareShare
ReportReport
Posted on by 7

Okay, so I just ran into this and wondered if anyone else has the same issue. 

 

Been working on a series of flows for a specific library, that change status, populate metadata, send email notifications, what have you.   The only one triggered automatically When a File is Created (Properties Only)... is a pretty simple flow that updates properties and sends an email. 

 

I had to add some documents today that didn't need the notification or property update, so I turned the flow off.  This morning I added the docs, updated a few properties manually, and everything seemed to be going fine.  This afternoon (6 hrs after adding the files), I was ready to turn the flow back on again. 

 

Problem is, that when I turned the flow back on, IT RAN ON ALL THE EXISTING DOCUMENTS! It overwrote everthing I entered this morning, and unfortunatley sent an email for each one (luckily to me as I was still using my email until fully live).  I specifically used Created and not Created/Modified because of this, but is there no way around it? Does turning on a Flow with this trigger mean it will run on any files created since it was turned off?

 

Has anyone else encountered this? I'm not sure if it's a bug, or if it's what to expect. Would this mean that I'd have to save a copy of an automatic flow every time I want to turn it off for a couple hours?

Categories:
  • Verified answer
    v-yamao-msft Profile Picture
    Microsoft Employee on at

    Hi @sarahbbo ,

     

    Thanks for feedback.

     

    The issue could be reproduced by me.

     

    However, I am afraid that it is not a bug, but an important feature to avoid data loss.

     

    Please check the following thread on Turning off Flow and turning back on still create new instances of Flow:

    https://powerusers.microsoft.com/t5/Flow-Ideas/Turning-off-Flow-and-turning-back-on-still-create-new-instances/idi-p/71672

     

    Flow Staff @Stephen  mentioned that it is a feature to avoid data loss, which allows you to temporarily disable a flow, make corrections, and then enable the flow, running it over all of the events that happened in the interim.

     

    Besides, we’ll look at adding an option to delete the trigger data so you can start again from scratch.

     

    Hope this makes sense.

     

    Best regards,

    Mabel

     

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

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 289

#2
11manish Profile Picture

11manish 288 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 125

Last 30 days Overall leaderboard