Email Script Not Working

Jarom_Hulon
Level 2

Email Script Not Working

#if( ${lead.PartnerPlus_Owner__c} == "Rachael Baron" )

rbaron@jive.com

#end

#if( ${lead.PartnerPlus_Owner__c} == "Andres Cardenas" )

acardenas@jive.com

#end

#if( ${lead.PartnerPlus_Owner__c} == "Melissa Bradley" )

melissa.bradley@jive.com

#end

Hey guys, we have a pretty simple one here that isn't turning up a result. Our partner software doesn't sync our partner owner email addresses so we need to do it this way. All we are trying to do is get the email to show up based on the partner plus owner.

2 REPLIES 2
Jarom_Hulon
Level 2

Re: Email Script Not Working

We just got it to work by taking out the "{}" signs. However, we have no idea why that would be the case when dragging over the token it includes it. SO, if you happen to know why that is an issue, it would be much appreciated!

SanfordWhiteman
Level 10 - Community Moderator

Re: Email Script Not Working