Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Get Items within Do Until

(0) ShareShare
ReportReport
Posted on by 40

Hello everyone,

I've spent a week searching for a solution to my problem and haven't found anything yet. Maybe you can help me find a solution.

 

So, about my Flow. The trigger for the flow is a button in Power Apps. From Power Apps, I pass the necessary information to filter a SharePoint list. After filtering this list, I find users in one of the columns and send them an email.

 

Details: New data is constantly coming into the list, and one of the filtering conditions (

formatDateTime(addDays(utcNow(), -1), 'MM/dd/yyyy')

) is the date (always the previous day). The flow should run for 12 days, so I put everything in a Do Until Loop. Everything works as intended on the first iteration. But the next day, for some reason, the Do Until doesn't trigger the list filtration again and uses the previous data. As a result, the column with the user's email remains empty, and the flow ends with an error.

Screenshots for better understanding below.

 

 

  • denisbalakirev Profile Picture
    40 on at
    Re: Get Items within Do Until

    Many thanks! 

    Спасибо!🙂

  • VictorIvanidze Profile Picture
    12,207 on at
    Re: Get Items within Do Until

    Рад помочь! 😉

  • denisbalakirev Profile Picture
    40 on at
    Re: Get Items within Do Until

    Thank you for pointing out on important setting. 

    I will test it and let you know the result. 

  • Verified answer
    VictorIvanidze Profile Picture
    12,207 on at
    Re: Get Items within Do Until

    PT1H means one hour. It's the source of your problem.

    See https://nishantrana.me/2022/06/06/change-limits-in-do-until-control-power-automate/

  • denisbalakirev Profile Picture
    40 on at
    Re: Get Items within Do Until

    ok, got it. Usually counter equal to 12 bit I lowered the value for testing purposes. 

     

    Screenshot 2023-11-10 at 16.21.01.png

  • VictorIvanidze Profile Picture
    12,207 on at
    Re: Get Items within Do Until

    You have shown Settings.

    I mean the things you will see if you click "Change limits"

  • denisbalakirev Profile Picture
    40 on at
    Re: Get Items within Do Until

    Screenshot 2023-11-10 at 16.11.46.png

    I can see only 1 option there 

  • VictorIvanidze Profile Picture
    12,207 on at
    Re: Get Items within Do Until

    Please show the "Do until" options: Count and Timeout.

  • denisbalakirev Profile Picture
    40 on at
    Re: Get Items within Do Until

    @VictorIvanidze Hi, 

    Get Items function, Filter Query field.  Get Items located in Do Until Loop.

    Screenshot 2023-11-10 at 16.01.32.png

     

  • VictorIvanidze Profile Picture
    12,207 on at
    Re: Get Items within Do Until

    Hi @denisbalakirev,

    where exactly in you flow you are filtering items by date?  In which action?

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,658 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow