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
Sandeep123Sandeep123 

Too many DML rows:10001 URGENT,,,...

Hi

 

I am in big trouble, please help me out.

 

I have one batch class, in which i am using UPSERT in Start method only 4 time.

 

It is executing only 4 time, still showing this error.


So any idea for the same, Thanks in advance.

 

 

sfdcfoxsfdcfox

You probably shouldn't be using any DML operations in start(). Instead, you should process those records inside execute().