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
Bhushan_27Bhushan_27 

Help on delete trigger!

 From all the records present of a custom object , there will always be only one record which has most recent flag(checkbox) set as true. Now I Want to write a trigger which ckecks that,  if the current which is deleted had most recent flag set as true, if yes then update the flag on  next most recent record (currently  present)Help on delete to set as true.