Skip to content

This is a trigger handler pattern for Salesforce that simplifies trigger management. It leverages custom metadata to enhance configurability.

Notifications You must be signed in to change notification settings

siddarth-codes/TriggerHandlerUsingCustomMetadata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

How to use

  • Create one trigger per object as per this sample :

force-app/main/default/triggers/AccountTrigger.trigger

  • Create a record in cutom metadata for the object you want to create a trigger

  • Create the apex class and test class for the same

force-app/main/default/classes/TestAccount_TrigAct.cls

  • Order (in custom metadata) let you control order of execution on that object

My Unlocked Package for the same

v1 - https://login.salesforce.com/packaging/installPackage.apexp?p0=04tGB000002aBiZYAU

About

This is a trigger handler pattern for Salesforce that simplifies trigger management. It leverages custom metadata to enhance configurability.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages