AnsweredAssumed Answered

Velocity Script returns the wrong values

Question asked by Shai Milbauer on Jan 2, 2018
Latest reply on Jan 4, 2018 by Sanford Whiteman

Hi,

 

I'm using Velocity Scripting in our Newsletter in 10 different languages. 

To make the tokens more convenient to fill (there are about 200 different values to change each month), I've chosen to use Velocity instead of the normal Dynamic Content.

 

The template worked fine when I've created and tested it a couple of weeks ago, but now when I want to create the first newsletter to send the URL values are wrong.

The wrong parameters are not in the wrong language and in the right token, but it's in the right language and i'm using it in a different token (article 5 token passes a couple of times for ex).

It's important to add that the email preview by lead works as expected, and all other tokens except the URL ones are ok. The problem occurs in the actual send in the link tokens.

 

In the script I'm defining variables for each language and another one for the link leader with http://, so i can track it. I suspect something has changed in the past weeks and the issue lies here.

 

Anyone have any thoughts on what happened? It worked well a couple of weeks ago.

Example script attached.

Attachments

Outcomes