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
Shruti NigamShruti Nigam 

Hi all, I am having one object Interview in which i have look up with Contact

Hi all,

I am having one object Interview in which I have lookup with Contact and in Contact, there are two record types: Candidate and Interviewer 
So the scenario is whenever I create Interview There are two fields Candidate and Interviewer when I fill it too then the email should go to the email filled in candidate and Interviewer in the contact object 

Can Anyone please help me with the above scenario??
VinayVinay (Salesforce Developers) 
Hi Shruthi,

Need to create a workflow. 

Follow the steps below :

>> Evaluation Criteria: select 'Every time a record is created or edited'
>> Rule Criteria: select 'Formula evaluates to true' and write 'ISCHANGED( custom lookupfield )' formula in formula editor
>> Select 'mail alert' as action
>> As Recipient Type select related User from picklist and add them list.

Hope above information was helpful.

Please mark as Best Answer so that it can help others in the future.

Thanks,
Vinay Kumar