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 Platform Community / Forums / Power Automate / Do Until Timeout Path ...
Power Automate
Answered

Do Until Timeout Path not triggering

(0) ShareShare
ReportReport
Posted on by 236
So something odd is going on with a new cloud flow I am building. I need to watch a folder to become empty. Once empty do something.... if X time passes and the folder still isn't empty, do something else. Normally I just create a parallel path at the end of the loop with one task triggered on when the Do until timeout hits, be it 3 minutes or 3 hours, and the other path on Success. For some reason, the path is always successful even if the 3 minute timeout is hit. The example below I have a timeout set to 3 minutes for testing and a file in the folder that I have to manually delete.
 
 
 
 
 
Categories:
I have the same question (0)
  • Verified answer
    venturemavenwill Profile Picture
    1,189 Super User 2025 Season 2 on at
    The problem here is that even though the timeout limit is reached, the action is still "successful" because it fulfilled all the run criteria without running into an error, so since the loop did not get an error, it also shows the run as successful.
     
    The has timed out option only works when the connector actually returns with a timeout error message. 
     
    In your case, you might need to simply set a variable that counts how many files are in the FTP folder, and use that as a condition instead. 
  • Ellis Karim Profile Picture
    11,725 Super User 2025 Season 2 on at
     
    The "timeout" for the Do Until has a different meaning to an action that has "timeout".
     
     
    A "timeout" of PT3M means that the Do Until loop will stop after 3 minutes (or if the loop has run 500 times: Loop count: 500). In this case the Do Until loop will have "succeeded". As we see from your runtime output no actions failed, skipped or timedout:
     
    Can you use an IF condition with the FTPCount to determine if the actions "timedout"? FTPCount is not equal to 0?
     
    Ellis Karim
    Ellis Karim
    Blog | LinkedIn | Bluesky
    If this solved your issue, please mark it as ✅ Accepted Answer. If it helped, feel free to give it a 🩷 Like!
     
  • NickTT Profile Picture
    236 on at
    Thanks all...I'll add a condition to the check.

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 265 Super User 2025 Season 2

#2
harshdeol Profile Picture

harshdeol 193 Moderator

#3
S-Venkadesh Profile Picture

S-Venkadesh 173 Moderator

Last 30 days Overall leaderboard