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
nagamalli tadikondanagamalli tadikonda 

triggers in my org

I need to make inactive all the  triggers in my org  using coding only.. Anybody have any idea?
Please read this article
Mohammad Asim AliMohammad Asim Ali
I believe hierarichal custom setting can help you. Instead of deactivating the triggers you can just skip the functionalities that the trigger performs for the entire org or specific profiles or specific users.
Create a hierarichal custom setting with a boolean field. Make the default as false. Refer this field in all your triggers and run the code only if the value is false. Whenever you want to deactivate (override) the triggers, just modify the boolean field value to true in your custom setting.