+ Start a Discussion
Vijay ummedaVijay ummeda 

Batch Apex failed at third batch size

Hi Team,

I would like to know  the below output i have 10000 recors batch apex is processing them at 2000 recors in the third batch the query has  failed what is the result  will the other batch size executes and what is the output 

Thanks,
Vijay.
AbhishekAbhishek (Salesforce Developers) 
Vijay,

What is the error you are facing?
Vijay ummedaVijay ummeda
Hi Abhishek,

I didn't face any error i just wanted to know if i am updating say 10000 records if the update is failed at 6000 records how to handle that error.
Will the rest of the records will be updated.

Thanks,
Vijay.
AbhishekAbhishek (Salesforce Developers) 
Vijay,

If you are processing through data loader it will not process any records if face any error.

But if you are doing it through code and use partial keywords then those many records will be processed before through error.


For reference, you can check this,

https://developer.salesforce.com/forums/?id=906F000000090LkIAI


Let me know if it helps you and close your query by marking it as solved so that it can help others in the future.

Thanks.