+ Start a Discussion
Edward Scott 17Edward Scott 17 

apex class to rerun assignment rule


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,