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





Super User
Super User

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


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.

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

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (1,506)