You need to sign in to do that
Don't have an account?
dJadhav
Processing on batch result.
Hi,
I have two batch jobs.Each job has 1 callout. I want to do some processing after competion of both batch job.
Can any one help me how to do this?
Thanks in advance.
Regards,
Dipak
The finish method is called after all batches are processed. Use this method to send confirmation emails or execute post-processing operations.
doc is here,
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_batch_interface.htm
Thanks for reply.
I kbow about finish() method. I don't want to process the result of indivisual batch job. I want to get the data from each thread and the do the processing. How to check both thread has completed and and then process.
Regards,
Dipak
Hi Vishal,
Thanks for replay.
I have added the boolean varaible in Both batch classes and intialized it to false. In finish method i have set that varibale to true;
I am getting the error "Too many script statemenet." Could you please tell what is wrong?
Regards,
Dipak