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 / Simple Do Until doesnt...
Power Automate
Unanswered

Simple Do Until doesnt work

(0) ShareShare
ReportReport
Posted on by 4

I want Power Automate to create a table which contains the times of 6:00 until 18:00 (with 10 Minute gaps) and the current date once a day. So I created this flow:

yannikl_0-1628594324162.png

And the Do Until of the Minutes work perfectly fine, I get the table starting from 10.08.2021 6:00, then 10.08.2021 6:10, 6:20, 6:30, 6:40, 6:50, 7:00 and so on. But for some reason it wont stop at 18:00. It just continues to 19:00, 19:10, 19:20 ... then to 20:00, 20:10 etc. and never ends. Can anyone find my mistake?

Categories:
I have the same question (0)
  • Nogueira1306 Profile Picture
    7,390 Super User 2024 Season 1 on at

    Because it is doing it until the hour is 18

    You should do something like:

    If hour equal 18, do flow, if not, nothing

  • yannikl Profile Picture
    4 on at

    But I want it to do the flow until the hour is 18. I want every Hour and every 10 Minutes until 18:00 to be in the table. I tried something with a condition before but that didnt work either. It just created a Gap between 17:40 and 18:50 for some reason

  • Nogueira1306 Profile Picture
    7,390 Super User 2024 Season 1 on at

    You should do something like:

    If hour equal 18, nothing , if not, flow

  • Nogueira1306 Profile Picture
    7,390 Super User 2024 Season 1 on at

    The problem can also be as you get the hour

  • yannikl Profile Picture
    4 on at

    Thats exactly what ive tried. I had a condition if Hour is less than 18: do the flow, if not: nothing. But that didnt help either. So I think youre right, it must have something with the Hour variable. But I have no idea what I am supposed to do

  • Nogueira1306 Profile Picture
    7,390 Super User 2024 Season 1 on at

    I have a bot to say Happy B day and what I do is this:

    1. Current time

    2.Convert Time

    3. Compose -> converted time

    4. Compose2 -> 

    first(skip(split(outputs('Compose'),','),1))   ->  Day

    4. Compose3 -> 

    first(skip(split(outputs('Compose_2'),' '),1)) -> Hour
    5. Compose4 -> 
    first(skip(split(outputs('Compose_2'),' '),2)) -> Min
     
    Then,
     
    If: compose3 = 18, do nothing, else, do flow

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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 339 Super User 2025 Season 2

#1
trice602 Profile Picture

trice602 339 Super User 2025 Season 2

#3
David_MA Profile Picture

David_MA 270 Super User 2025 Season 2

Last 30 days Overall leaderboard