You need to sign in to do that
Don't have an account?
Arijit Mandal 6
Scenario for Batch apex
Let we have to update 500000 record to using batch apex. And after updating 10000 record batch apex fail. mention the process when again batch start running it will start from 10001 number of record with syntax. (Batch apex is schedule from Apex scheduler).
Hopefully i make you understand the question.
Hopefully i make you understand the question.
For example, if your batch is updating all records that do not have a certain field populated, you could add that field to the where clause of the initial query. If the batch then updates that field, a restart would automatically bypass all of those records that are already updated.