You need to sign in to do that
Don't have an account?

Assignment rules?
Hi
I created a lead assignment rule
rulename--->Rule1
criteria-----> leadowner equlas to ABC
Assign to ---> (queue name) XYZ
As of my expections output is leadowner XYZ. but
after creating a lead record i found leadowner ABC.
what is the problem?
Regards.
Make sure this steps are followed once you have created assignment rules
1.) You need to active assignment rule.
2.) while creating a lead record you need to click on Assign using active assignment rule check box. If not assignment rules will not be triggered.
All Answers
The lead assignment rules will not work if you are inserting the leads through API. The assignment rules will work only if the leads are uploaded via web-to-lead form, or if you import the leads. When you Import the Lead at that time you get the option to 'Assign all the Leads using teis assignment rule' and you need to select your assignment rule from the picklist.
Thanks
Utsav
[Do mark this answer as solution if it works for you and give a kudos.]
Make sure this steps are followed once you have created assignment rules
1.) You need to active assignment rule.
2.) while creating a lead record you need to click on Assign using active assignment rule check box. If not assignment rules will not be triggered.
In addition to what @raghusagar said, If you are using API to insert the Leads, You can set DMLOptions to define and execute the assignment rules.
Here is the syntax
Database.DMLOptions dmo = new Database.DMLOptions();
dmo.assignmentRuleHeader.assignmentRuleId= '01QD0000000IA2e'; // Active Assignment Rule ID
Lead newLead = new Lead(company='Test Company', lastname='Rule Test');
newLead.setOptions(dmo);
insert newLead;
Cheers!
I made a small mistake while creating the lead record,
i didn,t check Assign using active assignment rule check box.
Thank you for your valuable sugetions.
Regards..