Skip to content

Request for Enhancement: ignore Dummy Updates #17

Open
@spmamidi

Description

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.

Activity

kevinohara80

kevinohara80 commented on Dec 4, 2019

@kevinohara80
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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Request for Enhancement: ignore Dummy Updates Β· Issue #17 Β· kevinohara80/sfdc-trigger-framework