Dear fellow Marketo users, I am trying to write a script for a "if A and B" statement, meaning two variables in "if statement" instead of just one variable. I researched on the Apache Velocity script site, and found "&&" should be used between two variables. So my script writes as below: #if(${A} =="xx") && (${B} == "xx") #set ($xx = "xx") #elseif (${A} == "xx") && (${B} == "xx") #set ($xx="xx") #else #set($xx = "default") #end is there any error in my script? I don't seem to get the result i want, but when i use lead to test it, it shows the default, no error alert.. Any help is appreciated!!
... View more