Email Script (Velocity) My.Tokens Not Displaying Default Values

A document by KCS Integration on behalf of Roger Holloway on Jun 28, 2019Last modified by Roxann McGlumphy on Jul 9, 2019
Version 3Show Document
  • View in full screen mode

Issue Description
Velocity scripted tokens are not displaying the default value in the asset if the information required for the token is not in the database.o


Issue Resolution

Email Script tokens are not designed to work with the {{my.token:default=Some Value}} syntax, which is for simple tokens.


Rather, you must output the default value within the code (using #if/#else, $display.alt or any other conditions) then include just {{my.token}} in the email.


Examples can be found here: