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
MriduMridu 

how to include lead assignment rules (round robin) in vfpage.

 

hi

 

i could not able to find the optional checkbox in lead edit page -Assign using active assignment rule for displaying in vfpage.

i have created laed assignment rules.how to include that in vfpage which i have created for lead.It is exposed as site.When I click submit it should assign to the particular users for which I have created lead assignment rules. please give me immediate solution

sebcossebcos

Hi please review these resources to fire lead assignment rules from a visualforce page:

 

To create web2lead visualforce page:

http://developer.force.com/cookbook/recipe/creating-a-web-to-lead-form-for-your-force-com-site

 

To use existing lead assignment rules:

http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_methods_system_database_dmloptions.htm?SearchType=Stem&Highlight=assign|assigned|Assignment|assigning|assigns|assignment|Assigns|Assign|ASSIGN|assignments#assignmentruleheader