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
bpolbpol 

Do I need to use bulk ready triggers?

If I anticipate uploading 1000+ records at once, do I need to have my triggers ready to process bulk records?

 

Ben

jgrenfelljgrenfell

Ben,

 

You could get away with not having your trigger bulk ready if you set the batch size of the upload to 1.  I wouldn't recommend it though, the processing will be slow.  Also, at some point, if more than 1 record is ever processed by your trigger, not having it designed for bulk processing could lead not only to hitting governor limits but the logic may not process as you expect it to.

 

Jessie