Rationale

Logic in triggers can't be exposed for test purposes and cannot be re-used anywhere else in  your org. As a best practice developers should avoid putting any business  logic inside triggers. A handler class should be used instead.

Scope

  • Apex triggers
Did this answer your question?