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
Samuel JohnsonCBESamuel JohnsonCBE 

creating trigger to update account owner

I am looking for some assistance with creating a trigger to put on the account page.  I have two checkboxes, what I would like this trigger to do is change the account owner to a public group if both of the boxes are checked.  This would work Before Insert and Before Update.  Any help would be very much appreciated. 
AmulAmul
you can't change the ownership to public group. you can share or add team member in account team with help of trigger.