Help with Velocity Scripting

ckowalczyk
Level 1

Help with Velocity Scripting

Hi,

 

I've been trying to build out one Velocity Script Token that has a fairly simple equation:


License_Group.Total_Called_in_last_30_days - License_Group.Number_of_Paid_Licenses - License_Group.Number_of_Unpaid_Licenses

 

Here are the screenshots of how it looks when it's in script:

 

ckowalczyk_0-1721846042492.png

 

ckowalczyk_1-1721846059503.png

ckowalczyk_2-1721846073135.png

 

But when I reference the token in the email, it seems to always come out like this and will not populate when using a test record I know should populate it:

ckowalczyk_3-1721846119777.png

Any help appreciated!

Thanks,

Chris

 

1 REPLY 1
SanfordWhiteman
Level 10 - Community Moderator

Re: Help with Velocity Scripting

Please use the Syntax Highlighter (“Insert/Edit Code Sample” on the button bar) to insert code so it’s readable. It’s not possible to work with a screenshot.