function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Eager-2-LearnEager-2-Learn 

Batch Apex

Hi,

 

I wanted to make sure that I understand the Batch Apex process.

If I have a 1000 records processing in Batch Apex with default of 200 record iterations and within this iteration I am creating sets and maps that look up other objects and I update data in those objects does that get perminately updated after each 200 iterations or when the complete Batch process finishes.

Best Answer chosen by Admin (Salesforce Developers) 
Shailesh DeshpandeShailesh Deshpande
Yes, the records are updated in every iteration.