Power Automate – Pagination

While working with updating 9000+ records from Excel to SharePoint list, I see flow terminating after some time. (like 15 to 20 mins). After going in to the flow action flow successfully executed the records and deleted the processed entries (I am removing the successful entries).

Every time I see there were only 256 records processed without depending on the time (some time it is stopping at 15 mins and some time it is stopping at 25 mins). I have investigated the issue and found-out it is Pagination setting. We can see the same issue with SharePoint list. It will get only Top 100 records if there is no pagination.

By default Get Excel rows set to 256 rows as threshold if there is no Pagination set. We can set the Pagination for the List rows using the steps below.



Enable Pagination and Enter the Threshold value. I have entered it as 1024. While processing the Excel updates, it tool 1024 records and stop the flow.


Similarly, we can set the Pagination for Get List Item action to process and update the items.




Comments

Popular posts from this blog

Linksys Wireless Connection Failure

The security validation for this page is invalid. Click Back in your Web

Power Apps toPower Automate Error - The input body for trigger 'manual' of type 'Request' did not match its schema definition , the input String does not validate against the date