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
Megha Mittal 19Megha Mittal 19 

I have 2 querylocators in my start method in batch class and I am getting a 50001 rows error.

Batch class querylocator has a limit of 50 million records. Can anyone tell me why I am getting the error then.
Steven NsubugaSteven Nsubuga
Do you mind sharing your code so we can take a look?