Avoid implementing business logic in triggers

Impact area

Manageability

Severity

High

Affected element

Apex Trigger

Rule ID

SF-0031

Impact

As triggers do not allow methods like regular classes they are less flexible and suited to apply good encapsulation style.

Remediation

Use classes for complex business logic.

Time to fix

60 min




Last modified on Jun 10, 2020