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 / Get Items within Do Until
Power Automate
Unanswered

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.

 

 

Categories:
I have the same question (0)
  • VictorIvanidze Profile Picture
    13,073 on at

    Hi @denisbalakirev,

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

  • denisbalakirev Profile Picture
    40 on at

    @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
    13,073 on at

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

  • denisbalakirev Profile Picture
    40 on at

    Screenshot 2023-11-10 at 16.11.46.png

    I can see only 1 option there 

  • VictorIvanidze Profile Picture
    13,073 on at

    You have shown Settings.

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

  • denisbalakirev Profile Picture
    40 on at

    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

  • Verified answer
    VictorIvanidze Profile Picture
    13,073 on at

    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

    Thank you for pointing out on important setting. 

    I will test it and let you know the result. 

  • VictorIvanidze Profile Picture
    13,073 on at

    Рад помочь! 😉

  • denisbalakirev Profile Picture
    40 on at

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

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard