+ Start a Discussion

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.