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
Nikhil BanaitNikhil Banait 

How to keep trigger enable or disable while using Data Loader

Triggers can be kept enabled or we can disable them in the wizard operation.  Depending on the business requirement, we might need it enabled, which is fine in the wizard.  How can I achieve the same end result coming from the triggers if I were to use the Data Loader

BharathimohanBharathimohan

Hi,

 

No. We cannot bypass Validation rules and Trigger via Data Loader, as they are designed to maitain Data Integrity.

 

De-Activating it in salesforce setup is the only option left with us.

 

Please mark this post as solved, if it helps you.

 

Regards,

Bharathi
Salesforce For All

Nikhil BanaitNikhil Banait

Thanks

SFFSFF

There are two ways discussed here:

 

http://salesforce.stackexchange.com/questions/1143/how-can-we-disable-triggers-validation-rules-and-workflow-rules-in-salesforce-o

 

Basically, you can use a custom setting or a custom label and reference it directly within your trigger or validation rules. Good stuff!

 

Hope this helps,