Date not populating on alert

Anonymous
Not applicable

Hi all,

Probably a simple omission on my part, although would appreciate some help.

I have a date field on a form that is then used as a token in an alert. For some reason when the alert is received the date is blank.

If I inspect the lead record the date has been populated. Additionally if I send a test email with the lead populated the date comes through as expected.

I have added a wait step in case the alert was being sent before the record could be populated albeit to no avail. 

Thanks in advance

25 REPLIES 25
SanfordWhiteman
Level 10 - Community Moderator

This is telling.  You got the script as right as you could, but that parsing error is about the space in the field name.

Try manually replacing the spaces with underscores:

     ${Lead.Styling_Session_Date}

if that doesn't help, also try

     ${Lead.StylingSessionDate}

Also pls show a screenshot of Field Management for that field.

Anonymous
Not applicable

pastedImage_0.png

Hi Mate here is the screen

SanfordWhiteman
Level 10 - Community Moderator

If you write to me off-line, I'd like to try something else using Velocity as a debugging tool.

Also, what are your results from Velocity with the underscores inserted vs. with a known-nonexistent field?

Anonymous
Not applicable

Marketo support is working on it, they cant seem to figure it out yet.

Anonymous
Not applicable

pastedImage_0.png

pastedImage_1.png

pastedImage_2.png