+ Start a Discussion

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

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.