/StopChangingTheTriggerCriteria

Sample code and presentation for Stop Changing the Trigger Criteria

Primary LanguageApex

StopChangingTheTriggerCriteria

Sample code and presentation for Stop Changing the Trigger Criteria.

Demo 1

The Account trigger, AddAccountTeamMembers, is replaced by Process Builder calling AddAccountTeamAction.

Demo 2

The Opportunity trigger, OpportunityTrigger, has the sample logic moved from inside the trigger to a formula field

Demo 3

The TimeLog trigger, SubmitForApproval, has the next approver id switched from being hard-coded to referencing a formula field.