5 Replies Latest reply on Aug 3, 2016 12:28 PM by Sanford Whiteman

    Need debug help: Email script elseif

    Robb Barrett

      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