Alex - we created a support ticket back on Aug. 1. Marketo was able to reproduce this behavior (where it only rendered properly with trigger campaigns but not batch campaigns. But since this is a P3 ticket, Support does not have the capacity to look further into this at this time. Yes, frustrating.
Hi all,
this is probable a bit outdated, however, we run into the same problem and what did the trick for us was just removing the curly brackets from the script:
${display.br($lead.fieldName)} --> $display.br($lead.fieldName)
I am not a programmer, so I can't explain why it worked, but maybe it will help somebody.
Mmm, neither of these can have any effect when line breaks do not exist at all in the source string.
They're also completely identical once parsed by the Velocity engine.
I am having same challenge.
In the Marketo Flow Action logic the Attribute LOV only displays Lead attributes ( lead fields).
If you create a program token you will not find in the Lead attribute list.
Program Tokens are only available in Digital Assets (EMail or LP) for now.