logo

NJP

Efficient Data Migration in ServiceNow with GlideRecord.chooseWindow()

New article articles in ServiceNow Community · Jun 09, 2026 · article

Running bulk updates or migrations in ServiceNow without batching can slow down your instance and create long-running transactions. In this post, we'll look at how GlideRecord.chooseWindow() works like server-side pagination, helping you process records in controlled chunks, improve scalability, and keep large data operations safer and more predictable.

View original source

https://www.servicenow.com/community/developer-blog/efficient-data-migration-in-servicenow-with-gliderecord/ba-p/3556587