Reply
Regular Contributor
vel123
Posts: 105
0
Accepted Solution

Is trigger fired on bulk upload?

Hi...

 

I am trying to insert more thant 60,000 records throuth Data loader in my instance and there is a berfore insert trigger on that  object..

 

my question is that ... Is that trigger  fired on all 60,000 records?

 

I am using SOQL query in trigger, as per governor limits SOQL query handles only 10,000 records ... is it possible to fire on all records ? any one please clarify my doubt .
 

Trusted Contributor
Magu
Posts: 209
0

Re: Is trigger fired on bulk upload?

Hi,

Triggered will be fired for all those 60k records.

 

Regards,

Magulan D

Salesforce.com certified Force.com Developer.

SFDC Blog

SFDC Site

If this post is your solution, kindly mark this as the solution and click Kudos.

Trusted Contributor
Shailesh
Posts: 220
0

Re: IYs trigger fired on bulk upload?

Yes. Your trigger will get fired. However as you are using Data Loader, it will upload a batch of 200 records at a time. So your trigger should not hit the limit.
Super Contributor
Vinit_Kumar
Posts: 645
0

Re: IYs trigger fired on bulk upload?

Also,You need to make sure that your Trigger is written to handle bulk data,i.e. your Trigger should be a bulkified one.

Don't forget to give KUDOS if post helped you.

If this answers your query,please mark this as solution so that it would be useful for others.