2 answers
Hi Anuj,1) Usually we are not supposed to give a call from the asynchronous to asynchronous because we don't know when it get worked (executed when the source is available only). In terms of batch class we can do this only in the finish method, there only we can understand the another batch can execute after completion of one batch this is the exceptional case.2) Can call batch class to batch class in only finish not possible in the start method. If we call the 2nd batch class in the execute method we may have a possibility to call the second batch once the some group of the records has been processed that would not be much effective for whole process.Regards |Rajesh | Technician