Transactional Message - Fields in Preview/Test Msg coming up 'Undefined'

Avatar

Avatar
Validate 10
Level 3
holmes74338504
Level 3

Likes

17 likes

Total Posts

51 posts

Correct reply

5 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 10
View profile

Avatar
Validate 10
Level 3
holmes74338504
Level 3

Likes

17 likes

Total Posts

51 posts

Correct reply

5 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 10
View profile
holmes74338504
Level 3

09-10-2020

Hello, 

 

I'm trying to use personalization in the Transactional Msg template. I've define my fields in the Event. 

Image A.JPG

 

I then try to use the fields in the Transactional Msg, but they come back as 'undefined' in the Preview. When I try to use Postman and populate the fields in the ctx, the fields still return as 'undefined' 

 

 

Image B.JPG

Image C.JPG

 

Also - I set my @orderDate field as String in my Event, but when I populate the field as '10/01/2020' I get the following error: Date '10/01/2020' Invalid character at position 5 ('1')

 

If this is a String, what does it matter how I format it. This only seems to work if I format the field as '10-01-2020' 

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar
Validate 1
Level 1
GarimaGakhar1
Level 1

Likes

0 likes

Total Posts

7 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
GarimaGakhar1
Level 1

Likes

0 likes

Total Posts

7 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
GarimaGakhar1
Level 1

18-11-2020

I am experiencing something similar with Collections Data.

All data corresponding to the event is reflecting fine, its only Collection elements which are coming up as: Undefined