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

Why is this flow constantly running?

I have a flow that never seems to stop running (triggering). The trigger is "When an item is created or modified".  Yet, the flow just continuously runs.

entireFlow.PNG

 

getItems.PNG

 

reset_installation_status.PNG

 

check_last_installation.PNG

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Dual Super User
Dual Super User

Re: Why is this flow constantly running?

 

Hi

I guess if you update the same item that triggered the flow (I am referring to When an item is created or modified), then you enter a neverending loop

 

There are several threads on this topic

https://powerusers.microsoft.com/t5/Flow-Ideas/Do-not-retrigger-the-flow/idi-p/70443

 



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



View solution in original post

4 REPLIES 4
Dual Super User
Dual Super User

Re: Why is this flow constantly running?

 

Hi

I guess if you update the same item that triggered the flow (I am referring to When an item is created or modified), then you enter a neverending loop

 

There are several threads on this topic

https://powerusers.microsoft.com/t5/Flow-Ideas/Do-not-retrigger-the-flow/idi-p/70443

 



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



View solution in original post

Johnathon_S
Level: Powered On

Re: Why is this flow constantly running?

Well that isn't the greatest . . .

 

Thanks for the information.

Dual Super User
Dual Super User

Re: Why is this flow constantly running?

Hi again

There are some workarounds, not very elegant I am afraid.

For example let's assume the flow owner never updates manually the SP items. In such a case, if you add a condition after the trigger and check who modified the item, then you can stop executing the flow if it was the Flow owner.

This means everytime somebody else modifies an item the flow will be executed twice, the first time the condition is not met, so the item is again updated. The flow is automatically reexecuted, this time the condition is met, and the item will not be updated.

Hope this helps



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



Johnathon_S
Level: Powered On

Re: Why is this flow constantly running?

Well I think what I'm going to do is create a new record rather than update the record. This will create a type of sharepoint log.

 

Thank you for the quick response, and I hope you have a wonderful day c:

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 (6,066)