Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Delivery fails because the targetData is undefined

Avatar

Avatar
Validate 10
Level 3
thibaultb473199
Level 3

Likes

25 likes

Total Posts

77 posts

Correct Reply

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

Avatar
Validate 10
Level 3
thibaultb473199
Level 3

Likes

25 likes

Total Posts

77 posts

Correct Reply

2 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 25
View profile
thibaultb473199
Level 3

07-08-2019

Hello everyone,

Since few days, some of my deliveries don't want to be send out and mention me that the targetData is not defined.

Here is how the error looks like :

nlclient_rfoEfwYL0w.png

This was not happening before (the workflow was on a scheduler without any modification in the template and one day, this happens with this failure) and I still have some deliveries that works with the targetData in other templates.

But for an obscure reason, this issue happens for all the targetData I use in that template. I try to delete a piece of code in the HTML with a use of the targetData but it fails again because of an other targetData.

Example of the targetData I use : <%= targetData.member.point_Bal_Val %> and this one is working in another template I use.

Do you already encounter this problem and if yes, how I can resolve that ?

If you need more information, feel free to ask.

Thanks in advance.

Kind regards.

View Entire Topic

Avatar

Avatar
Validate 10
Level 3
thibaultb473199
Level 3

Likes

25 likes

Total Posts

77 posts

Correct Reply

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

Avatar
Validate 10
Level 3
thibaultb473199
Level 3

Likes

25 likes

Total Posts

77 posts

Correct Reply

2 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 25
View profile
thibaultb473199
Level 3

07-08-2019

Hello DimaKudryavtsev​ ,

Thank you for the explanation and detail answer. I understand where I can maybe find the answer of this issue.

Since I never use the populate of the targetData, can you give me an example of hat I have to put between the <targetData></targetData> ?

To test with a simple exemple, I use in the template <%= recipient.firstName %> , how do I have to set up the <targetData></targetData> field ?

If there is documention also with that, it will be great to learn more about that

Thanks in advance,

Kind regards.