You need to sign in to do that
Don't have an account?
VJ_SFDC
Lead Assignment Rules is not triggering for Community users created leads
Lead Assignment is not working if portal user is creating.
Added dml layout options and also setup layout properties. any guess.
Added dml layout options and also setup layout properties. any guess.
May I suggest you please check two things.
1. Is the Assignment Rule active?
2. Is the following checked? and also refer the below link for reference.
- https://success.salesforce.com/answers?id=90630000000DNbUAAW
hope it helps.Please mark it as best answer if the information is informative.
Thanks
Rahul Kumar
I did three steps, I believe it is limitations that's why I wanted to check, I am creating leads from Community portal and I am using Partner central community which is lightning based.
1) I have added dmloptions in the trigger
trigger TriggerAssignmentRule on Lead (before insert,before update) {
for(Lead objL:trigger.new){
Database.DMLOptions dmo = new Database.DMLOptions();
dmo.assignmentRuleHeader.useDefaultRule = true;
objL.setOptions(dmo);
}
}
2) My assignment rule is also active
3) For all the layouts I setup - Assign using active assignment rule = true
For the community user layout also i setup that but it is not visible in the edit layout but default value i made true