2 Replies Latest reply on Oct 25, 2017 8:02 PM by Angthony Tung

    Velocity Email Script - Greater Than or Less Than Operators

    Angthony Tung

      I want to serve content based on whether or not the Score field is greater than an certain number.  I've been able to do equals, doesn't equals, and contains, but cannot figure out greater than (or less than)


      This is what I thought should work but hasn't:


      #set ($ScoreCount = ${lead.scoreCount})

      #if($ScoreCount > 10)

      Content A


      Content B



      Any thoughts on if this is possible?