Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

Flow keeps on running

(0) ShareShare
ReportReport
Posted on by 373

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

 

 

  • NurNina Profile Picture
    373 on at
    Re: Flow keeps on running

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

  • jaxkookie Profile Picture
    18 on at
    Re: Flow keeps on running

    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
    373 on at
    Re: Flow keeps on running

    @ScottShearer 

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

  • ScottShearer Profile Picture
    25,208 Most Valuable Professional on at
    Re: Flow keeps on running

    @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.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,618 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,957 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow