Improving Long-Running Delete Process and Pagination

In this meeting, the State Changers discussed a long-running delete process. They discussed an error that occurred during the process and tried to find a solution. One suggestion was to disable include variable details to potentially improve the result. They also discussed using a query all records approach instead of a for each loop to address the issue more efficiently. The query all records approach involved enabling paging and retrieving 10,000 records at a time until all records were deleted. They also discussed the possibility of memory leaks and how pagination can help reduce the memory load. The State Changers also discussed the concept of pagination in the context of updating records instead of deleting them. They ended the meeting with the suggestion to share progress on the community platform and to continue troubleshooting in future meetings.


(Source: Office Hours 9/13 )

State Change Members Can View The Video Here
chris-montgomery-smgTvepind4-unsplash.jpg

View This Video Now

Join State Change Risk-Free