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 / Strange limitation of ...
Power Automate
Unanswered

Strange limitation of Flow at 2048 list items

(1) ShareShare
ReportReport
Posted on by 59

We have a Flow which is pulling a table from our on-prem SQL with 2550 records yet when the Flow adds them to a clean list, it only imports 2048 records.  Has anyone ever seen this or am i missing something obvious?  Confirmed count in table, confirmed complete flush of data from list and confirmed final count after run.

 

We have tried lower counts and they work properly - i.e. 1,000 records works fine.  It doesn't seem to be timing out at about 34 minutes to run.

 

Categories:
I have the same question (0)
  • v-yamao-msft Profile Picture
    on at

    Hi CivilNJ,

     

    I am afraid that there might be a limitation for the records that action “get rows” could get. We are able to get the rows up to 2048.

     

    Please consider to create a request at Flow Ideas Forum to expand the total number that action “get rows” can retrieve.
    https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

     

    Best regards,
    Mabel Mao

  • Verified answer
    CivilNJ Profile Picture
    59 on at
    I believe I have resolved it. In the SQL Get_rows part of my flow, I went to the 3 dots and Settings. I forced PAGINATION to ON and set to max 5000. I am now getting all of my content to pull.
  • CivilNJ Profile Picture
    59 on at
    I think 2048 is a default.
  • Community Power Platform Member Profile Picture
    on at

    Hi CivilNJ,

    I have made pagination and set limitation to 10000 even tough not able to get all records

  • twhite-cfauk Profile Picture
    9 on at

    I've tried this and found that with pagination on and threshold set at 5000, the connector gets the correct number of records, but ends up missing some from the original source and duplicating others instead. Very odd. After a fair bit of tinkering I've surrendered and split the data on the SQL server side into 2 views for separate import. If anyone else has a robust solution though, would love to hear it

  • RPGpro Profile Picture
    41 on at
    If anyone else has a robust solution though, would love to hear it

    Make sure pagination is off, it sets a minimum record count which will mess with this process: 

    1. Create 2 variables, 1 is a boolean the other is an integer, initialise them as 0 and false. 
    2. Create a while loop which runs while the boolean is false. 
    3. Inside the loop, run get rows, set the "skip count" field as the integer you created, make sure pagination is turned off (it sets a MINIMUM return qty that will mess this up, this is why you got duplicate data when setting it to 5000). 
    4. count the number of records returned by the get rows connector, if it's 0 set the boolean to true and do nothing else. if > 0 then: 
      1. Run w/e process you want with the rows or store the data to process outside of the while loop later on. 
      2. Add the number of records to the integer, this means the next loop iteration will skip the first x rows and return the next set of data. 
    5. The loop repeats until the last record is returned. 

     

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

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard