AnsweredAssumed Answered

Need debug help: Email script elseif

Question asked by Robb Barrett Expert on Aug 3, 2016
Latest reply on Aug 3, 2016 by Sanford Whiteman

Error received when trying to approve an email. Not sure what I'm doing wrong here

 

 

An error occurred when procesing the email Body!

Encountered "#elseif" near

<pre>if(${lead.HCIT_Product_Interest__c}.includes("Radiology - VAR")) 
Sarah
#elseif(${lead.HCIT_Product_Interest__c}.includes("Radiology")) 
Christina
#elseif(${lead.HCIT_Product_Interest__c}.includes("Cardiology")) 
Suzanne


Outcomes