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
erika002erika002 

If field is blank, return value of other field

Hey,

 

I need a validation rule on a field (custom field "ultimate parent account") to check if it is blank. If it is blank I would like to insert the value of another field on that account, namely parent account.

 

Can someone help me?

 

I tried already with isblank and blankvalue...

Best Answer chosen by Admin (Salesforce Developers) 
erika002erika002

But I did it like this:

 

Workflowrule:

 

ISBLANK(Ultimateparentaccount)

 

--> Field update (Parent.Name)

 

All Answers

Steve :-/Steve :-/

What is the datatype of the Ultimate Parent Account field?

erika002erika002

hey,

 

it's okay.

 

They don't need an ultimate parent account anymore :-).

 

Thanks!

erika002erika002

But I did it like this:

 

Workflowrule:

 

ISBLANK(Ultimateparentaccount)

 

--> Field update (Parent.Name)

 

This was selected as the best answer