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
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