Skip to content

Instantly share code, notes, and snippets.

@amitastreait
Last active March 22, 2018 10:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amitastreait/4845877f71ffdf367e50c85e2c6a04fb to your computer and use it in GitHub Desktop.
Save amitastreait/4845877f71ffdf367e50c85e2c6a04fb to your computer and use it in GitHub Desktop.
/*
@Author : Amit Singh
@BuiltDate : 21st March 2018
@Description : Account Trigger that will call the RUN mthos of TriggerDispatcher class
*/
trigger AccountTrigger on Account (before insert, after insert, before update, after update, before delete, after delete, after undelete) {
TriggerDispatcher.run(new AccountTriggerHandler() , 'Account');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment