function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
Is there a way to know number of records that has been processed, rejected by a batch apex job?
hi,
as per my knowlage total 200 records are processed per batch job.. for more.... read this
http://www.salesforce.com/us/developer/docs/apexcode/index_Left.htm#CSHID=apex_batch_interface.htm|StartTopic=Content%2Fapex_batch_interface.htm|SkinName=webhelp
The sample in the API documentation shows a finish method that includes email the full results (number processed, number of errors) upon completion.
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_batch_interface.htm
That is what we use.
The example only able to get number of batch(es) processed.
I would like to get the exact number of records being process successful or fail and the error detail.
I only way I can think of is by using custom object and insert the details in. Does anyone has a better way to do it?
hi,
as per my knowlage total 200 records are processed per batch job.. for more.... read this
http://www.salesforce.com/us/developer/docs/apexcode/index_Left.htm#CSHID=apex_batch_interface.htm|StartTopic=Content%2Fapex_batch_interface.htm|SkinName=webhelp
The sample in the API documentation shows a finish method that includes email the full results (number processed, number of errors) upon completion.
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_batch_interface.htm
That is what we use.
The example only able to get number of batch(es) processed.
I would like to get the exact number of records being process successful or fail and the error detail.
I only way I can think of is by using custom object and insert the details in. Does anyone has a better way to do it?