Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
trigger AccountTrigger on Account (before insert,after insert) {
new MyTriggers()
.attach(MyTriggers.Evt.afterInsert, new AccountTriggerHandler.AccountAfterInsertHandler())
.attach(MyTriggers.Evt.beforeInsert, new AccountTriggerHandler.AccountBeforeInsertHandler())
.attach(MyTriggers.Evt.beforeUpdate, new AccountTriggerHandler.AccountBeforeUpdateHandler())
.run();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.