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
ipsips 

Batch APex : Total Batches count not displayed properly

Hi,

 

For batch program execution my total batches count is inconsistent.

 

I am running batch program on 1000 records with batch size as 85. When salesforce prepare a batch it shows me the total batch count as 12, which is correct. But, as my batches processed, that count increase as follow.

Total Batches

Batches Processed

12

0

13

2

15

5

16

9

17

13

18

16

19

19

 

Can anyone tell me about this behavior?

RajaSampathRajaSampath

Did you find answers for this issue? Thanks