cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
Super User II
Super User II

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

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
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (54,275)