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
padmasree.force1.3940871124123252E12padmasree.force1.3940871124123252E12 

How to stop recursive triggers

Hi
   we can stop recursive triggers by declaring static boolean variable,is their any way to stop recurisive triggers?if any other way please can any one 
help me
Atul111Atul111
Hi Need to create the static mehtord in a class and declare the boolean variable there. And use these variable in your class. This is only solution to stop recursive triggers. Please let me know if you need any help on this.
souvik9086souvik9086

Is there any issue you faced by stopping recursive triggers by declaring static boolean variable??

If yes then tell me the issues.
Otherwise this is the best way.

Thanks