5 respuestas
Hi Steve,Please check following links to deactivate trigger in production :https://help.salesforce.com/articleView?id=000005417&type=1There are two way to deactivate the Trigger directly in prod1) Create custom setting to activate or deactivate trigger (Best One)https://www.sundoginteractive.com/blog/disabling-triggers-in-production-dynamicallyhttp://www.salesforcegeneral.com/salesforce-articles/salesforce-bypass-rules-and-triggers.html2) You can also do the same by eclipse. Please check posthttps://help.salesforce.com/apex/HTViewSolution?id=000005417&language=en_US (https://help.salesforce.com/apex/HTViewSolution?id=000005417&language=en_US)Important: You must consider the consequences of disabling a trigger in the production environment during work hours. It is highly recommended to perform this work outside normal business hours and to disable access to the application to non-administrators during the maintenance period.Follow these steps:1) Disable the trigger in the sandbox environment2) Create a new project in Eclipse using the Sandbox and including the trigger (or refresh your existing Eclipse project)3) Alternative: edit the trigger name.trigger-meta.xml in an existing project and change the status node to false: <status>Inactive</status>4) Save the change locally5) Deploy the trigger to production6) Complete the data load7) If the change is not permanent or you want to enable the trigger again then enable the trigger by making it active on the sandbox or project again and deploy it to productionPlease let us know if this will help youThanksVaraprasad@For Support: varaprasad4sfdc@gmail.com