sfdc-trigger-framework
sfdc-trigger-framework copied to clipboard
Request for Enhancement: ignore Dummy Updates
trafficstars
Hi Kevin,
Can you validate and include new feature that ignore dummy updates on trigger.
here is the sample implementation:
trigger ApplicationTrigger on Application__C (before insert, before update, after insert, after update, before delete, after delete) { boolean anyChanges = true; if (Trigger.isUpdate) { anyChanges = !Trigger.oldMap.equals(Trigger.newMap); } if (anyChanges == true) { new ApplicationTriggerHelper().process(); } }
Siva Mamidi.
That feels like a bit of a bloat of the TriggerHandler API. I think that is best implemented in your trigger handler implementation.