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
msglsmomsglsmo 

Field Update Formula

Hi All,

 

I am trying to write a Field Update formula for our Account page.   I need a field called "Total_Locations_c" to have a value of "1", unless a field called "Account_Site_c" is "Corporate.  If the "Account_Site_c" field is "Corporate", then the "Total_Locations_c" can be any value.

 

For the life of me, I cannot get this done.

 

Any ideas?

 

Thanks!

Best Answer chosen by Admin (Salesforce Developers) 
skodisanaskodisana

Hi,

 

Write a workflow rule with condition Account_Site_c" field isnot equal to "Corporate".

Then create action as Field update with value 1.

else users will enter value

Thanks,

Kodisana

All Answers

skodisanaskodisana

Hi,

 

Write a workflow rule with condition Account_Site_c" field isnot equal to "Corporate".

Then create action as Field update with value 1.

else users will enter value

Thanks,

Kodisana

This was selected as the best answer
msglsmomsglsmo

Thanks for the idea!