Skip to main content
September 19, 2017
Question

Program token with if/else not returning expected values

  • September 19, 2017
  • 0 replies
  • 1327 views

Hi Marketo experts,

I've started learning the velocity scripts and was testing something very basic which didn't work.

I've created a program token which returns incorrect results. Below is the config:

I tested email with 'Customer ID - 777' and it is returning token value as Bad ID returened, ID is ${lead.Customer_id}.

Any idea what I'm doing wrong in the script below?

Thanks in anticipation !

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.