IF(AnnualRevenue>=100,ISPICKVAL({!Rating},"Hot",IF(AND(AnnualRevenue>50,AnnualRevenue<100),ISPICKVAL({!Rating},"Warm"),IF(AnnualRevenue<=50,ISPICKVAL({!Rating},"Cold"),"None")))
1 个回答
Hi Grace,
You may need to break it into two parts since assignment rules are just used to assign a Lead to a User or a Queue if it meets the defined criteria.
You can read more about the Assignment rules here: https://help.salesforce.com/articleView?id=sf.customize_leadrules.htm&type=5 (https://help.salesforce.com/articleView?id=sf.customize_leadrules.htm&type=5)
In your scenario since you're looking to update the Rating field based on Annual Revenue I would suggest to use a Process Builder to update the Rating field.
For the second part "if the rating is HOT it would be sent to a User in the org with an email notification. If the rating is warm or cold it would be sent to a queue", Lead assignment rule can be used