cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

How to prevent "When a file is created or modified (properties only)" from recursion?

I'm working on a work flow that triggered by adding or updating a sharepoint library file.  During the flow, I'd like to change the property of this file (a custom field "reviewed date").  but the change of this field will trigger this flow again, and then again.  Is there any way to stop trigger this flow from the change made by it self?

 

Thank you.

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User II
Super User II

Re: How to prevent "When a file is created or modified (properties only)" from recursion?

Hi @Kun 

There are a few options:

I tend to prefer using a service account as it's the most reliable approach IMHO: https://powerusers.microsoft.com/t5/Power-Automate-Community-Blog/SharePoint-Managing-Recursive-Even...

The other option is a trigger condition: https://powerusers.microsoft.com/t5/Webinars-and-Video-Gallery/Microsoft-Flow-Trigger-Conditions/td-...

With the trigger condition just set a value in the SP item which you later check in the trigger condition to avoid recursion.

HTH

Jay

-------------------------------------------------------------------------

If I have answered your question, please mark your post as Solved.

If you like my response, please give it a Thumbs Up

 

View solution in original post

1 REPLY 1
Highlighted
Super User II
Super User II

Re: How to prevent "When a file is created or modified (properties only)" from recursion?

Hi @Kun 

There are a few options:

I tend to prefer using a service account as it's the most reliable approach IMHO: https://powerusers.microsoft.com/t5/Power-Automate-Community-Blog/SharePoint-Managing-Recursive-Even...

The other option is a trigger condition: https://powerusers.microsoft.com/t5/Webinars-and-Video-Gallery/Microsoft-Flow-Trigger-Conditions/td-...

With the trigger condition just set a value in the SP item which you later check in the trigger condition to avoid recursion.

HTH

Jay

-------------------------------------------------------------------------

If I have answered your question, please mark your post as Solved.

If you like my response, please give it a Thumbs Up

 

View solution in original post

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

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 (6,974)