cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mboonie
Level 8

Qualify "When File Is Created" trigger with "...and is not being edited."

Hi. I'm asking as much for high-level advice as much as technical advice.

In my situation, I want a simple workflow to be triggered after a file is created. I want it to update some properties, e.g. the Title, based on information entered into the Word file (whose properties are linked to the Library where the content type is used) and send an email that needs to include the Title.

The problem is that the files are created from within the library. This means that the user clicks New (to create a document from that content type); but then the Flow (which is triggered "When a New File is Created [Properties Only]") runs before the user is finished typing anything into the file!

How is one expected to approach this? How can I tweak the trigger (or what should I change it to) so that it doesn't run until the user has CLOSED the file they just created? I'm sure there is an "...until..." involved somewhere, but what sort of condition does "...until File is Closed" evaluate to?

1 REPLY 1
Community Support Team
Community Support Team

Re: Qualify "When File Is Created" trigger with "...and is not being edited."

Hi @mboonie,

 

The trigger mechanism of "When a file is created (Properties only)" is correct.

The reason for your issue is that SharePoint online has AutoSave when editing files, so after you create a file, you have not filled in any content , it has been saved automatically, so Flow determines that a new file has been generated.

You could try turning off AutoSave or Configuring AutoSave Settings In Office.

Please check following link and see if it helps:

what-is-autosave

what-it-administrators-should-know-about-autosave

 

Best Regards,

Barry

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 409 members 2,763 guests
Please welcome our newest community members: