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
sultansultan 

without using a static boolean variable can we have other way to avoid recursive trigger ?

Best Answer chosen by sultan
Nilesh Jagtap (NJ)Nilesh Jagtap (NJ)
hi Raju,

We can avoid recussion in triggers by making use of interface. You can create a interface for handling trigger entry.
Depending on whether interface instance is available or not you can avaoid recurssions.

<< This link >> (http://krishhari.wordpress.com/2013/07/22/an-architecture-framework-to-handle-triggers-in-the-force-com-platform/)might help you to understand the trigger dispatcher concept using interfaces.

If this answers your question, mark this as best answer.

Thanks,
N.J