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
zAkszAks 

update email field having lookup ,when one of the field is not null.

Hi all.
 i need to write a trigger for :
i have a requirment as , i have child object as Case ,In which their r 2 fields such as Assigned to and Technician Email.
and second parent object is Eqipment in which i have a field called as email.

wat i need is when ever the assigned field is not null in child, den Eqipment ;s email   should b copied to childs,s Technicain Email..



Thanks:
 
SalesFORCE_enFORCErSalesFORCE_enFORCEr
Create a process builder or workflow rule on Case.
Rule Criteria: Case.Assigned to != null

Field update:
Case.Technician Email = Case.Equipment.Email