web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Automate
Unanswered

Flow keeps on running

(0) ShareShare
ReportReport
Posted on by 375

I have a flow and it works fine at first. after a few minutes, the flow keep on running.

NurNina_0-1607426310257.pngNurNina_1-1607426353010.png

 

NurNina_2-1607426369655.png

im not sure whats the issue here..

NurNina_3-1607426449610.png

 

 

Categories:
I have the same question (0)
  • ScottShearer Profile Picture
    25,270 Most Valuable Professional on at

    @NurNina 

    It looks like you have an infinite loop.  Your Flow will run when an item has changed.  At the end of your Flow you update the same item which starts the Flow again.

  • NurNina Profile Picture
    375 on at

    @ScottShearer 

    thanks for the feedback. How do I stop the infinite loop?

  • jaxkookie Profile Picture
    18 on at

    I haven't got around to writing this up yet but here is how I resolved the infinite loop. Initially I created two fields, one a counter that I was incrementing, and a second for modulation. I would check if MOD(counter, 2) was eq to 0. but it was still running. While watching this run I found the the flow updates the modified by to the owner of the flow. I switched my connections to a service account ( it can stay the owner if the owner does not run the flow) then I check the Modified by not equal to Service account. Runs once, does its magic, and does not run again.

  • NurNina Profile Picture
    375 on at

    @jaxkookie thanks for the feedback. How do I change the connection to service account?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard