Can a batch be called from the execute method of another batch apex?
Respuestas de entrevistas
Anónimo
22 de feb de 2017
No.. another batch class can be called from a start or a finish method of our batch class. But never from the execute method.
3
Anónimo
8 de jul de 2018
No
Anónimo
13 de mar de 2019
Yes but only from finish method else it will throw a run time error
Anónimo
9 de ene de 2022
No, We cannot call another batch class from execute method but we can call it from Finish method else it will throw runtime error as async cannot call batch class from start, execute or finish