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
NikithaNikitha 

Hey ! I'm new to triggers , I'm getting err like this CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY. I think so it is recursive how to handle this type of err?

User-added image  even I created  separate class  for recursion basic code public class CheckRecursive {
  
    public Static Boolean firstcall = false;
    
}
What im missing here? User-added image
Malika Pathak 9Malika Pathak 9

Hi Swathi A 8,

please find the solution

I think there is another Trigger on Mark_Sheet which will insert or update the Mark_Sheet.. looks like it's reaching a max depth which leads to infinity executions. you can deactivate all other triggers then run this particular trigger. Then you may not get any error.

If you find this solution is helpful for you please mark the best answer