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 / Getting a basic loop t...
Power Automate
Answered

Getting a basic loop to work with email options

(0) ShareShare
ReportReport
Posted on by 41

Can anyone tell me why this loop doesn't work please?

 

langas1984_1-1669033089097.png

 

It doesn't matter what options I select, it leaves the loop and carries on with the flow.  The conditions determine the delay if option 2 or 3 are selected from the email.  The first option "Done" should be the only option to break the loop but they all seem to.

 

Thanks in advance

 

Categories:
I have the same question (0)
  • Verified answer
    Ellis Karim Profile Picture
    11,695 Super User 2025 Season 2 on at

    Hi @langas1984 ,

     

    SelectedOption has no value when entering the loop.

     

    Use a variable to determine when to exit the flow.

     

     Then set the variable to false if the desired option of Done was selected.

    Snag_1e4dec90.png

     

    Also, set the limits on how long the loop needs to run for:

    How To Use The Power Automate Do Until Loop (zeitgeistcode.com)

     


    Ellis
    ____________________________________
    If I have answered your question, please mark the post as Solved.
    If you like my response, please give it a Thumbs Up.

  • langas1984 Profile Picture
    41 on at

    Thank you. It worked.  I had tried variables before but not as Boolean but that seems to have made all the difference.  Thanks

     

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

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard