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

SOLVED

target data is not undefined

mmbb110
Level 8
Level 8

I have a reoccurring delivery in ACS and the workflow runs fine, when I try to test previews I get the context.target data is undefined message.

 

I checked the html line number from the error message, the html code is as below,

 

<div class="acr-fragment acr-component nl-dce-if" data-component-id="html" data-nl-expr="context.targetData.GENERIC06 === &amp;#39;Y&amp;#39;" data-nl-condition-type="single" contenteditable="true">
<table width="600" cellspacing="0" cellpadding="0" border="0" align="center">

 

 

wondering what is missing in my workflow?

 

Can someone please help.

 

1 Accepted Solution
shelly-goel
Correct answer by
Community Advisor
Community Advisor

@mmbb110  Below part seems to be incorrect in your email:

data-nl-expr="context.targetData.GENERIC06 === &amp;#39;Y&amp;#39;"

How did you add this condition? Were there any manual changes done in source?

View solution in original post

6 Replies
shelly-goel
Correct answer by
Community Advisor
Community Advisor

@mmbb110  Below part seems to be incorrect in your email:

data-nl-expr="context.targetData.GENERIC06 === &amp;#39;Y&amp;#39;"

How did you add this condition? Were there any manual changes done in source?

View solution in original post

mmbb110
Level 8
Level 8
I think it is copied over from another message, I found it odd too.
shelly-goel
Community Advisor
Community Advisor
@mmbb110 So if it is not needed you can remove it and then try again
Sukrity_Wadhwa
Employee
Employee

Hi @mmbb110,

Were you able to resolve this query with the given solution or do you still need help with it? Do let us know.

Thanks!

mmbb110
Level 8
Level 8
I Don't know from where that code came, I removed it as it had no reference in the workflow and everything works out fine.