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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Continuously running f...
Power Automate
Answered

Continuously running flow stops without error

(0) ShareShare
ReportReport
Posted on by 16

I'm having an issue keeping a flow continually running that I hope this group can help with.  I have created a PAD flow that takes some action after a file is delivered to a specific folder.  However, given this delivery could be sporadic and only specific to this local machine, my crude solution was to just create a flow with a continual loop that continues to look for the file in that folder (that would run indefinitely).

 

So far I have tried to do this with a while loop (with a condition that is always true, with a delay after each check) and with a Label/Goto (back to the start of the flow, with a delay), and each approach has worked for a period of time, but both eventually just stops running after a number of hours.  There are no visible error messages that I can see, and none of my built in error monitoring captures anything.  If I manually restart the flow all works again as normal for a period of time until it eventually just stops again.  Typically it runs for a least a few hours before just stopping.

 

The PC running the flow is continuously logged in and does not go to sleep.

 

Are there limits to how long a flow can run or some internal limit on the number of loops a local PAD flow can perform before it just stops executing?  Is there something else locally on the PC that could be causing it to stop that I'm not aware of?  My next step would be to add some additional error monitoring to see if I can get any additional information just prior to the stoppage.

 

  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Does this info helps you 

    Nived_Nambiar_0-1680617726632.png

     

  • sskids1 Profile Picture
    16 on at

    Thank you for the quick response.  In my experience the flows that I start manually stop executing after less than 8 hours (vs. 14 days as referenced in the snippet).  If I start them back up they will run/loop fine initially, but then just stop at some point after a number of hours again.  It feels like either there is either some internal limit with PAD that I am up against or something else externally that is happening (PAD application and service appear to not be interrupted in any cases so far).  I've tried to mimic a few error scenarios such as losing connectivity during the running flow, and each time a hard error and message are given vs. the flow just stopping so I'm not sure how else to further troubleshoot.

  • Verified answer
    MichaelAnnis Profile Picture
    5,727 Moderator on at

    I was running into storage space issues when I attempted this on an older computer.  I don't know where log files are located, but I know one exists during an active run.  You may need to build in a delete or clear of the log file if it is maxing out and killing your bot.  I don't think this will throw an error.

  • sskids1 Profile Picture
    16 on at

    Thank you for the suggestion regarding the log files.  I think I see where the log is created/updated while running - I'll see if I can delete that mid run to keep it going.

  • Verified answer
    sskids1 Profile Picture
    16 on at

    Just as a quick update - I added a step to my process to delete the Action.log file (in the AppData\Local\Microsoft\Power Automate Desktop\Console\Script folder) after a certain amount of loops and my process has been successfully running continually ever since.  Thank you so much for the suggestion!

  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    That's great news!  Was a complete shot in the dark, and I hope it continues to work for you.

    I went ahead and marked yours as a solution also, so others could find the path.

    Best of luck!

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 289

#2
11manish Profile Picture

11manish 282 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 119

Last 30 days Overall leaderboard