cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Kun
Level: Powered On

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
Super User
Super User

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
Super User
Super User

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

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

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!

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 Power Automate Community Video Gallery!

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