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
AshwinKumar123AshwinKumar123 

Total batches are getting reduced

Total number of batches are getting reduced. Without any error out of 3300 batches 152 have got processed. Now all of a sudden total number of batches is getting reduced.

This is a follow up question on this one : https://developer.salesforce.com/forums/ForumsMain?id=9062I000000XygVQAS
ShirishaShirisha (Salesforce Developers) 
Hi Ashwin,

Greetings!

Can you please try to capture the debug logs to see the code execution and the number of that are returned by the SOQL query to see,if they are getting updated as expected.

So,I would suggest you to enable the debug for finer on Apex to see the detailed execution during the job execution.

Kindly let me know if it helps you and close your query by marking it as best answer so that it can help others in the future.

Warm Regards,
Shirisha Pathuri