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
JaanuJaanu 

How to pass trigger variables (Trigger.new and Trigger.old) in trigger factory?

Our business is using Trigger factory to write triggers. Here is the link for this concept # https://developer.secure.force.com/cookbook/recipe/trigger-pattern-for-tidy-streamlined-bulkified-triggers

I have handler which has all the business logic in the private class. For some reason I am not able to get the trigger.old and trigger.new variables into the handler. 

Can someone please guide me on this. Thanks.