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
sfdcjoeysfdcjoey 

trigger fire question

Please can anyone tell me the explaination .

If we have trigger on account object, if i insert 1000 records through dataloader how many times the trigger fires?
RAM AnisettiRAM Anisetti
1000/200=5times will execute
UC InnovationUC Innovation
Hi,

Whether you configure DataLoader to use Bulk or SOAP API, the records will insert in batches of at most 200 on the salesforce side. This is to avoid hitting Governor Limits. With this in mind if you are to insert 1000 records you must consider 5 batches of 200. This means the trigger will fire 5 times.

Hope this helps clarify things a bit.

AM