cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Advocate I
Advocate 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
Solution Sage
Solution Sage

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

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.

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

 

Hi @v-zhos-msft 

 

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

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!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

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 (25,288)