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
kenny ellekenny elle 

email notification to the lookup custom field user

i have to send am email to the user who is there in the custom look u field.
i have a merchant objct on which i have a custom look up field to user object.so i need to send the user who is there in custom look up field.
Best Answer chosen by kenny elle
VinayVinay (Salesforce Developers) 
Hi Kenny,

Create a workflow. Follow the steps given below :
 
1.   Evaluation Criteria: select “Every time a record is created or edited”
2.   Rule Criteria: select “Formula evaluates to true”, and write “ISCHANGED( custom_field )” formula in formula editor
3.   Select “mail alert” as action
4.   As Recipient Type select related User from picklist and add them list.

References:
https://developer.salesforce.com/forums/?id=906F00000008vBtIAI
https://salesforce.stackexchange.com/questions/101404/email-alert-recipient-related-user-addition

Hope above information was helpful.

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

Thanks,
Vinay Kumar

All Answers

VinayVinay (Salesforce Developers) 
Hi Kenny,

Create a workflow. Follow the steps given below :
 
1.   Evaluation Criteria: select “Every time a record is created or edited”
2.   Rule Criteria: select “Formula evaluates to true”, and write “ISCHANGED( custom_field )” formula in formula editor
3.   Select “mail alert” as action
4.   As Recipient Type select related User from picklist and add them list.

References:
https://developer.salesforce.com/forums/?id=906F00000008vBtIAI
https://salesforce.stackexchange.com/questions/101404/email-alert-recipient-related-user-addition

Hope above information was helpful.

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

Thanks,
Vinay Kumar
This was selected as the best answer
kenny ellekenny elle
Hi vinay the above custom field is a look up to user so we need to send an email to the user in that field.
i need to send email to the user in that custom field