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
Edward Scott 17Edward Scott 17 

apex class to rerun assignment rule

Hi,

It is the beginning of the year and I am trying to rerun all of the leads in our database through the new assignment rule. Normally I would use a script or a trigger that I have set up to re-run people through the assignment rule when they go from a certain lead staus to another. I know though that both triggers and scripts have a limit to them. So I am trying to write an apex class that will rerun all the leads through the lead assignment and check a checkbox field that I created to see who has been changed.

Thanks for your help in advance,
Edward