You need to sign in to do that
Don't have an account?
NevDev
RecursionHandler
Hi guys,
I was told that I need to create a RecursionHandler so that a trigger will autopopulate a checkbox when it creates a new record. It was suggested to me to use the below code. Do I just add this ontop of the trigger or where do I add it?
public class RecursionHandler
{
public static Boolean isrun = true;
}
I was told that I need to create a RecursionHandler so that a trigger will autopopulate a checkbox when it creates a new record. It was suggested to me to use the below code. Do I just add this ontop of the trigger or where do I add it?
public class RecursionHandler
{
public static Boolean isrun = true;
}
All Answers
Just create a separate Apex class for this by navigating following:
setup-->Apex Class-->New-->paste the above code.
Okay so all I need to do now is to create the new Apex Class and paste the above code into it?