I have very large List/library (100,000) and every night I like to process and mark a column only first 5000 records via a recurrence FLOW. Next day another 5000 from the remaining bunch and so on to keep my APIs under my daily allowance.
How can I do place a counter at the trigger level and stop the FLOW when it reaches the set value?
Any suggestion is appreciated,
Thank you,
SueA.
I am sorry for this delayed response. I tried your suggestion and it worked perfectly on various sizes of Lists and libraries! Thank you for suggesting this awesome solution!
Hi there,
You could always just create a tracking list somewhere and use the SP IDs. Ie, on run, check config list, get ID (1), add 4999 (5000), and iterate through records until the ID = that config number. Then do the same thing - next night, add another 4999 (9999), iterate until you hit that ID #. Your loop would be a Do Until "ID" is equal to or greater than 5000.
Would that work for you?
Rhia
Tomac
986
Moderator
stampcoin
699
Super User 2025 Season 2
Riyaz_riz11
577
Super User 2025 Season 2