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
prufrockprufrock 

Invoking Lead Assignment Rule From Apex Code

Hello,
I was wondering if I can make explicit call to Lead Assignment Rule from Apex classes. Our client prefers to have it deployed using Apex class not S-control or any other hosted application.
 
Many thanks.


Message Edited by prufrock on 04-16-2008 01:11 PM
Steve ChadbournSteve Chadbourn
There does not seem to be any way of calling or firing assignment rules from Apex code. I was told this indirectly by the Apex product manager. It is not on the roadmap either. It was suggested I use triggers to assign cases - I'm guessing the same holds true for Leads.
TehNrdTehNrd
http://ideas.salesforce.com/article/show/10094219/Invoke_Assignment_Rules_with_Apex#skin=le