Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Help with condition for created/modified file

Hi there,


Beginner user. I am creating an approval flow for whenever a file in a Sharepoint document library (not list) has been either created or modified. If a file has been created or modified, it starts an approval flow to have the approver review and approve the created/modified file. Once approved, it starts a custom approval flow to notify a group of people of the approved created/modified file and asks them to download it and click "approve" to acknowledge that they've downloaded the created/modified file. 


My issue seems to be with the first condition. I'm not familiar with conditions, so I gave it my best shot and it's not working. Whenever I upload a file (created, in this case), it works and it goes down the "yes" path. Whenever I modify a file, however, it still goes down the "yes" path when it should be going down the "no" path. 


Could someone please explain how I should correctly set up this condition?


First half of flowFirst half of flow


Second half of flowSecond half of flow





Dual Super User III
Dual Super User III

Re: Help with condition for created/modified file

What I see on your first condition is 'Created' Get file (properties) output equals to 'Created' Get file (properties) output. If so, the condition is always true. I would suggest to change it into 'Created' Get file (properties) output equals to 'Modified' Get file (properties) output
Hope this helps

Each time you click on any of our inspiring answers 'Thumb up' icon... ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!

Escribo sobre Power Automate en:

Proud to be a Flownaut!

Community Support
Community Support

Re: Help with condition for created/modified file


Hi @numberfive ,


You can replace one of the Created in the first Condition with Modified.

Please take a try.


Best Regards,

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.
Frequent Visitor

Re: Help with condition for created/modified file

I have tried that before and it didn't work. I tried it again just now and it still didn't work. When I used Modified is equal to Created, any time a file was created, it went down the modified path. When a file was modified, however, it worked correctly and went down the modified path. 


I looked at Sharepoint and noticed that whenever I upload (create) a document, it says that it has been BOTH modified and created at the same time. But when a file is modified, only the time listed under the modified column is updated. I attached a screenshot of some examples of that. The underlined items are when I actually modified a file. Everything else was uploaded. 


I believe this might be creating the issue. How should I adjust the condition with that in mind?sharepoint column capture.JPG



Helpful resources


August 2020 CYST Winners!

Check out the winners of the recent 'Can You Solve These?' community challenge!


Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.


Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021


Power Automate Community User Group Member Badge

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

Top Solution Authors
Top Kudoed Authors
Users online (5,449)