+ Start a Discussion
pooja biswaspooja biswas 

issues faced when calling batch apex from trigger

Hi
I am aware we can call instance of batch apex trigger.
so batch apex asynchronous , trigger is synchronous.
so it can hit governor limit if batch process huge records.

From governor poitn of view its fine, I understood  but want to know eactly what are the other pitfalls and what will be errors coming?

thanks
pooja
Shiva RajendranShiva Rajendran
Hi Pooja ,
I don't think there is a dependency on the governor limit if batch is executed from trigger .SInce trigger can be bulk ,only concern in here is you shouldn't call  individual batch execute more than 5 times
use this reference for the limitation count
https://developer.salesforce.com/forums/?id=906F000000090mbIAA