Question: what is the difference between trigger and batch apex in salesforce?
Answer: Difference between trigger and batch in salesforce. Batch Apex runs whenever it is specifically called (or scheduled to run). trigger not queued for run, which cause immediat action. Batch queued to run, which may cause delays in starting.