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
P.kumar 27P.kumar 27 

In order to change the lead status from assigned to working, make it a requirement that No. of Locations field be filled out.

Hi All,

Can any one please help me out to solve the above question?
I have tried through workflow but No of location is not coming 
PriyaPriya (Salesforce Developers) 
Hey 

This is not the case of automation so we do not need any automation like workflow rule or process builder, etc.

This is the case of Custom Validation.

Create a validation rule on your required object and add the following logic in Error Condition formula :-
 
ISPICKVAL( LeadStatus ,'Working') && ISBLANK( NoOfLocationField )
Then in Error Message :-
 
Kindly enter the No Of Location
 

Kindly mark it as the best answer if it works for you and also it will help others.

 

Thanks & Regards,

Priya Ranjan



 
P.kumar 27P.kumar 27
Hi Priya ,

The requirement is when we change the lead status value from 'Assigned '  to   'working' . Make it a requirement that No. of Locations field be filled out.

Please help me to solve this.