Apex Trigger Bypass And Killswitch Patterns

Runtime mechanisms to disable Apex triggers without commenting out code: Custom Metadata kill switches via Trigger_Setting__mdt, Custom Permission gates via FeatureManagement.checkPermission, Hierarchy Custom Settings, and TriggerControl static-state bypass for nested operations. NOT for a handler re-entering itself — use apex/recursive-trigger-prevention. NOT for gating a business feature — use apex/feature-flags-and-kill-switches.

PranavNagrecha Updated 26 repo stars

File contents

PranavNagrecha/AwesomeSalesforceSkills commit b5be0e383b

Frequently asked questions

npx get-skill add pranavnagrecha/apex-trigger-bypass-and-killswitch-patterns