cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

Prevent re-triggering of the flow while updating item in same list

Hi,

 

I am updating an item in the same list where the flow is configured to run on create or update. The issue is that the update by the flow re-triggers another unwanted flow execution. 

 

for now I have setup a temparory condition to check the Modified By value, and if it is the account that I am using to run the flow then I am terminating it. This workaround is working for now but I just wanted to check if there is any better solution out there for this issue.

 

Thanks.

4 REPLIES 4
Highlighted
Solution Sage
Solution Sage

Re: Prevent re-triggering of the flow while updating item in same list

Hi @imran7799 ,

As you discription, there are two flows(flow1 and flow2).The flow1 contains a update item action, which will trigger the flow2.

Solution 1:

I suggest you add a column in the list(like: Yes/NO column).

In the flow1, the update action always set the column value to 'Yes'.

In the flow2, below the trigger, you can add a conition, when the column value is equal to No, the flow will continue.

Solution 2:

Turn off the flow2, when the flow1 is running.

Solution 3:

Add a Manually trigger above the flow2.

 

Best Regards,

Community Support Team _ Zhongys

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Highlighted
Frequent Visitor

Re: Prevent re-triggering of the flow while updating item in same list

I have used a similar workaround to the one suggested here.

 

Personally I think this issue should be addressed in the trigger action, perhaps a setting that allows you the check "Prevent Flow account from triggering this Flow" would be useful. 

 

I'm not sure if this is related, but I have recently found that my Flow is triggering several times a day (one time over 30 times) when nobody was editing any files. It's almost like the Flow is randomly triggering itself, even when no other Flows are running.

Highlighted
Solution Sage
Solution Sage

Re: Prevent re-triggering of the flow while updating item in same list

Hi @DavidG ,

I am afraid there is no action about the check "Prevent Flow account from triggering this Flow".

If you would like this feature to be added in Microsoft Flow, please submit an idea to Flow Ideas Forum:

https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

For the another question, sometimes , the flow will re-triggering itselt, it depend on the flow's configuration.

Here is a similar case you can take a reference:

https://powerusers.microsoft.com/t5/Building-Flows/Stop-a-flow-re-triggering-itself-on-sharepoint-it...

 

Best Regards,

Community Support Team _ Zhongys

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

 

Highlighted
Helper I
Helper I

Re: Prevent re-triggering of the flow while updating item in same list

Hi @v-zhos-msft 

 

Thanks for the reply. However, I only have one flow not two.

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 (7,701)