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
sudhirn@merunetworks.comsudhirn@merunetworks.com 

Lead Assignment Rule

Hi, 

 I gave below condition for lead assignement rule is this correct please suggest me 
ISNEW() 
&& 
( CONTAINS('us:usa:united states of america:united states',TRIM(LOWER(Country))) ) 
&& ( 
(CONTAINS('wy:co:nm:az:id:mt:ut:ak:wa:or:nv:ca:hi',TRIM(LOWER(State))) )
|| 
( State = "New Mexico" || State = "California" || State = "Idaho" || State = "Hawaii" || State = "Nevada" ||  
  State = "Colorado" || State = "Washington" || State = "Oregon" || State = "Alaska" || State = "Utah" || State = "Idaho" || 
  State = "Montana" || State = "Wyoming") )

Thanks
Sudhir
PratikPratik (Salesforce Developers) 
Hi Sudhir,

Create the lead records with mix and match of above formula condition to verify. Formula seems to be good to go. Test with test lead records.

Thanks,
Pratik
phiberoptikphiberoptik
This appears to be correctly stated. Have you tested it?