velocity script troubleshoot needed?
Hello community,
As I am working on my script, some weird things happened when I tested the same script. Yesterday it didn't work, and the $ showed up in the email. Today morning it worked just fine. And 10 minutes later it is not working and showing $ again. Anyone can tell me why it is so unreliable?
Here is my script (very simple)
#set ($propcompany = ${lead.Company})
#if($propcompany.equals("Unknown")||$propcompany.contains("?")||$propcompany.isEmpty())
What can your company unwrap this year?
#else
#set($greeting = $display.capitalize($propcompany))
#set($greetll = "What can $greeting unwrap this year?")
$greetll
#end
Anyone else experiencing similar behavior?
Thank you!