+ Start a Discussion
RaumilRaumil 

Want to call Batch Class from Batch Class.

Hello friends,

 

Is it possible to call Batch class form another batch class? If possible then how.? and if not possible then pleaes explain it with proper reason

 

Thank You

Raumil Setalwad

Best Answer chosen by Admin (Salesforce Developers) 
RaumilRaumil

Hello friends

 

I had already solved solution without callin batch process. tahnk you for guiding me.

 

Thanks

 

Raumil Setalwad

All Answers

Ankit AroraAnkit Arora

Salesforce doesn't allow calling Batch from Batch class, but we have a workaround for it here is the link :

 

http://developer.force.com/cookbook/recipe/serialize-batch-apex

 

 

Thanks

Ankit Arora

Blog | Facebook | Blog Page

iBr0theriBr0ther

Hi, 

 

Use schedule apex to assist your batch -to- batch process.

 

Regards,

RaumilRaumil

Hello friends

 

I had already solved solution without callin batch process. tahnk you for guiding me.

 

Thanks

 

Raumil Setalwad

This was selected as the best answer
pandurangapanduranga

 i write the bachclass in apexclass.then saved the class.how to execute the batch class procedure tell me

iBr0theriBr0ther

Database.excecuteBatch(yourBatchClass);