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
communitycommunity 

field Update

I have 2 custom objects. (Proj and Event). While creating a new Proj, I need to populate the proj name(mandatory field) with the Event name(lookup field) when the event name is filled.

 

I used workflow rule and field update to get this done but it isnt working.

 

This is what I used

 

Field to update : Project Name

Formula Value : Event_Name__c

 

Even i tried this, but in vain

 

Field to update : Project Name

Formula Value : Event_Name__r.Name

 

 Any ideas ?

 

 

Ispita_NavatarIspita_Navatar

I think you should try the following:-


Field to update : Project Name

Formula Value : Objectname__r.FieldName

in your case if

Event is a custom object:-
Formula Value : event__c__r.Event_Name__c
else
Formula Value : event.Event_Name__c

Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved

communitycommunity
Thanls for the reply. It isnt working. I tried with Event__r.Name in the Field Update. Or is it something i need to do different in the workflow rule ! This is what I used in the workflow rule. Rule Criteria: Project Name equals null. Evaluation Criteria: Only when a record is created So when the project name is null, it gets the value from the Event name.