I have a custom email address field on Account called Primary Email Address. We have also created a custom object off of account called Purchases. I want to be able to send an email to the Primary Email Address field on account every time a new Purchase record is added. Essentially, I want to walk up the child-parent relationship like so
Purchase__c.Account__r.Primary_Email_Address__c
However, it appears Salesforce doesn't allow for this. The "Recipient Type" drop down options do not include related object fields.
I can obviously do this with APEX, but I don't want to. I could also create an email field on Purchase__c
and copy the Primary_Email_Address__c
value using another workflow or APEX, but I'm trying to avoid duplicating data in objects.
Ideally, I would like to walk the relationship to get to Primary_Email_Address__c
from Purchase__c
.
Purchase__c
:account__r.primaryEmail_Address__c
Purchase__c
with an Email Alert action? If yes, then you are correct. What you need is a workflow that first copies the value ofAccount__r.primary_email_address__c
into a field of type Email on thePurchase__c
, then a second workflow that executes the email alert using thePurchase__c.Primary_email_address__c