+ Start a Discussion
:) :) :) :) :):) :) :) :) :) 

Trigger recursion depth

I don't find anything in limit class that gives current trigger depth. Is it possible to get current trigger depth using trigger context variable or any other way? 
Amit Chaudhary 8Amit Chaudhary 8
if you want to stop the recusive trigger issue please check below post. I hope that will help you

Solution :-
you can create a class with a static Boolean variable with default value true. In the trigger, before executing your code keep a check that the variable is true or not. Once you check make the variable false.