recursive trigger occurs when code is executed again and again and exceeds CPU time. To avoid it create a class with a static Boolean variable which return true or false value by default it return true value:
public Class checkRecursive{
private static boolean run = true;
public static boolean runOnce(){
if(run){
run=false;
return true;
}
Please note:
This action will also remove this member from your connections and send a report to the site admin.
Please allow a few minutes for this process to complete.
Report
You have already reported this .
We use cookies to enhance your browsing experience. Please see our privacy policy if you'd like more information on our use of cookies.