Email Script - What am I doing wrong?
So I am trying to create a script that I though was going to be simple, but its not working and I have no clue why. I found this article (https://nation.marketo.com/t5/Marketo-Whisperer-Blogs/Basic-Email-Scripting-Examples-for-Marketers/ba-p/245747) and was trying a similar if then script. But when I run examples through, if the value is null for the SMS number, it doesn't display the "Default SMS Number" and instead still displays the Text: but without a number since the owner sms field is empty.
#if(${lead.Owner_s_SMS_Number__c} == $null)
Default SMS Number
#else
Text: <b><a href="tel:${lead.Owner_s_SMS_Number__c}">${lead.Owner_s_SMS_Number__c}</a></b>
#end