Best Practices in Apex Triggers

 Best Practices in Apex Triggers 


1. One Trigger for one object

2. Naming Convention

3. Handler class for your trigger

4. No DML & SOQL inside for loops

5. Use custom label to activate/deactivate your trigger in production

Comments

Popular posts from this blog

Trigger Scenario 8 : Preventing the users to create Duplicate Accounts