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

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
v-zhos-msft
Level 10

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

DavidG
Level: Powered On

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
v-zhos-msft
Level 10

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

 

imran7799
Level: Powered On

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

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020

thirdimage

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

Top Kudoed Authors
Users Online
Currently online: 202 members 2,281 guests
Please welcome our newest community members: