function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Rocio VivancoRocio Vivanco 

Is it possible to create more than one trigger handler per object?

Hi all,

I have read that it is recommended to have only one trigger for object. Is it possible to create more than one trigger handler per object?.

 
Best Answer chosen by Rocio Vivanco
Shruti SShruti S
It is not a good practice to create more than one trigger handler for an object. If we are following a good trigger handler pattern, then we can tackle pretty much most of the business use cases using the same trigger handler.

All Answers

Shruti SShruti S
It is not a good practice to create more than one trigger handler for an object. If we are following a good trigger handler pattern, then we can tackle pretty much most of the business use cases using the same trigger handler.
This was selected as the best answer
Rocio VivancoRocio Vivanco
Thanks for the answer Shrutl. That helps me!.
Rocio VivancoRocio Vivanco
Amit, and where is the part that says clearly "don't use more than one trigger handler"?. Please read carefully before writting, no ofense ;)