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
sreekanth reddysreekanth reddy 

how many times trigger fires when running batch apex?

k sfdck sfdc

See below link
Raj Jha 5Raj Jha 5
Hello Sreekanth, 

If your trigger is bulkyfy in that case your tigger will excute and excetution till Apex limit is not reached. 
If your trigger is not bulkyfy in that case your trigger will not work. 

Hi Sreekankt,

Triggers code runs when you do a dml on object records.. If your batch apex has a dml and if there is a trigger defined on that object only then the trigger would fire..