function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ 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