+ Start a Discussion
anvesh@force.comanvesh@force.com 

can we call one batch with other? if yes how?

can we call one batch with other? if yes how?

Best Answer chosen by Admin (Salesforce Developers) 
ryanjuptonryanjupton

This was added with version 26 of the API. A small example here: http://boards.developerforce.com/t5/Apex-Code-Development/Calling-batch-apex-from-batch-apex/td-p/512929

 

There's also a good blog that does a good job describing some of the considerations and possible gotchas here: http://andyinthecloud.com/2012/10/14/winter13-chaining-batch-jobs-with-great-power/

All Answers

ryanjuptonryanjupton

This was added with version 26 of the API. A small example here: http://boards.developerforce.com/t5/Apex-Code-Development/Calling-batch-apex-from-batch-apex/td-p/512929

 

There's also a good blog that does a good job describing some of the considerations and possible gotchas here: http://andyinthecloud.com/2012/10/14/winter13-chaining-batch-jobs-with-great-power/

This was selected as the best answer
sandeep@Salesforcesandeep@Salesforce

After Winter13 release it  possible