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
RCJesseRCJesse 

Round Robin assignment rule not being called on.

So i have a small two person round robin test tule set as my active assignment rule. The rule works fine for webl-to-lead leads or if leads are manualy created. But importing leads through the lead import wizard or by my custom emailtolead apex class does not use the active assignment rule. So what gives? Any thoughts on why my round robin rul ewould not be called upon when importing or inserting anew data to the database?

 

Thanks,

Jesse

werewolfwerewolf
Via the API, you have to tell it to use the assignment rules using AssignmentRuleHeader.  In Apex you have to do the same thing, but it's in the DMLOptions class.
Message Edited by werewolf on 04-27-2009 04:39 PM
RCJesseRCJesse

Cool that should help with my emailtolead apex class. Thanks. Now i just have to find out why the round robin assignment rule doesnt work with the import wizard. If it just is not going to work that is one thing but I thought I was told by some that it should work.

Message Edited by RCJesse on 04-27-2009 04:44 PM