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
Nagarjuna Reddy NandireddyNagarjuna Reddy Nandireddy 

How to write a rule for two different objects fields

Hi all,

i have two objects i.e obj1,obj2 
this two objects have lookup relation. in this obj1 have a field called salery__c,  obj2 have a field called exp__c(expierience).
here my quetion is 

salery__c =30000 than exp__c will show as  2  

please provide me solution for this.

thanks
Nagarjuna reddy Nandireddy
 
RudrarajuRudraraju
Hi Nag,

Formula Field :
Exp__c = IF(Obj2.Obj1__r.Salary__c == 30000,2,0)

If it is not a formula field use workflow or process builder