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
Rahul Chavan 36Rahul Chavan 36 

workflow rule issue for lead object

guys plz help, reqmt is on lead object total lead (of data type=number) there--
create validation where user should not able to insert number > 100 i.e.not greater than 100,
and create workflow rule and field update  which update value of total lead field by adding 100 to user input.like ex.if user insert 90 field update should update value to 190 .
 plz help me in finding solution using workflow rule and step by step not just send anser by workflow daigram insead of it guid me step by step,bcoz in diagram not able t ofigure out how logic there.
PriyaPriya (Salesforce Developers) 
Hi Rahul,

Validation Rule
1. Go to SetUp, search Lead, click on validation rule, click new, give the rule name and enter the below in error condition formula :- 
 
Total_Lead > 100

Error message:- Please enter the number greater than 100.

Note:- Check the API name of the field Total Lead.

Workflow
1. Go to setUp, type workflow rule, click new, select the objet as Lead, specify the condtion according to you, Now add action as field update. Select the field you want to update. And enter the below in the formula :- 
Total_Lead + 100


Please mark it as best answer if it meet your requirement.

Regards,

Priya Ranjan