We are experiencing performance issues on our org and over the years the size of the org (data + bus logic components like workflows, triggers, fields etc..) have grown rapidly and exponentially.
We are planning to review the trigger code manually, could you please suggest:
- If there are any trigger practices / or link to the triggers best practices document
- What are the TOP 5 major coding components that we need to look for while trying to improve the trigger code.
Best Answer
You may look into following links for some of the best practices https://www.salesforce.com/us/developer/docs/apexcode/Content/apex_triggers_bestpract.htm http://wiki.developerforce.com/page/Apex_Code_Best_Practices