Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request for Enhancement: ignore Dummy Updates #17

Open
spmamidi opened this issue Jan 4, 2019 · 1 comment
Open

Request for Enhancement: ignore Dummy Updates #17

spmamidi opened this issue Jan 4, 2019 · 1 comment

Comments

@spmamidi
Copy link

spmamidi commented Jan 4, 2019

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.

@kevinohara80
Copy link
Owner

That feels like a bit of a bloat of the TriggerHandler API. I think that is best implemented in your trigger handler implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants