+ Start a Discussion
Arif 5Arif 5 

asynchronous triggers

Can someone give me detailed references/articles of how triggers work in asynchronous apex. in normal synchronous apex trigeers inserts records in the batch count of 200s each for every iteration. mean 1000 rows go in 5 batches. what happens in asynchronous processing. If i have a queueable inserting 1000 rows how they are processed.
Can someone give me detailed references/articles of how triggers work in asynchronous apex. 
Alexander TsitsuraAlexander Tsitsura
Hi Arif,

In asynchronous apex, triggers work in the same way as in synchronous apex. if you insert 1000 records, your trigger will run 5 times with 5 different sets of 200 records. Note that chunks will be processed in the same context and total limits will be summarized.

Thanks,
Alex