Batching and updating list of records

swapnil_singh
Tera Contributor

Hi ,

 

I have a requirement where I need to update more than 200k+ records through background scripts or scheduled job but to be done via pagination/batching concept..update 1000-2000 records at one time and move onto to the next batch so that it does not have a load on the instance..it keeps on checking the batches untill all 200k records are not checked.

 

Can someone help on this??

 

 

5 REPLIES 5

You could try a "Run Once" flow such as this

Mike_R_0-1670355167782.png