Allow de-activation of Apex triggers in production - Ideas - Salesforce Trailblazer Community
Trailblazer Community

All Ideas

Idea Details

Post an Idea
7,410  Points
Open
Idea has been posted. Give it an upvote or downvote.

Allow de-activation of Apex triggers in production

Development (Apex / LWC / VF)

Currently, there is no way to de-activate an Apex trigger in production. Please allow this. This may be required in a variety of situations: * A new bug is found, causing an unhandled exception. You want users to be able to continue saving records that cause the exception, while you troubleshoot the bug in a dev/sandbox environment. * You want to do a mass data load and specifically need to de-activate the trigger behavior for the mass load (this is a fairly common scenario in relational DB's).

Merge Idea · Flag

Latest Comment from Salesforce

  • John Vogt - 4 years ago

    In Summer '15, we GA'd the "Fast Deploy" feature previously mentioned through a Test Level called "Run Specified Tests".  This allow the user to deploy a minimal change with minimal test execution, making it much easier to deactivate a trigger.

    We aren't calling this complete, but we do believe Test Levels will make your lives a lot easier.  We are still working on delivering Test Levels in Change Sets for those of you that use that as your deployment tool of choice.
  • Upvotes
  • Downvotes

Ideas

Apps

from AppExchange

Questions

Help us to keep IdeaExchange clean by pointing out overlapping ideas. We'll investigate your suggestion and merge the ideas if it makes sense.



 

 

Thanks for your merge suggestion. We will review it shortly and merge the ideas if applicable.

Salesforce takes abuse situations very seriously. Examples of abuse include but are not limited to posting of offensive language or fraudulent statements. To help us process your request as quickly as possible, please fill out the form below describing the situation. For privacy and security reasons, the final outcome of an abuse case may not be revealed to the person who reported it.


 

Thank you for your feedback. We take abuse seriously and will investigate this issue and take appropriate action.