05 · Recursion control
Your after-update updates the record, which fires your after-update. Breaking the loop without breaking legitimate re-entry.
One trigger per object, logic in handlers, bulk-safe by default.
Your after-update updates the record, which fires your after-update. Breaking the loop without breaking legitimate re-entry.
Triggers receive up to 200 records at once. Every query and DML statement inside a loop is a countdown to 'Too many SOQL queries: 101'.
One method per event, a static bypass flag, and constructor-free classes your tests will thank you for.
Two triggers on one object run in an order Salesforce refuses to promise. The fix is a rule, not a framework.
Before triggers, validation, after triggers, assignment rules, flows, roll-ups — what actually runs when you press Save.
One trigger per object, logic in handlers, bulk-safe by default — the discipline that keeps automation debuggable.