target data is not undefined | Community
Skip to main content
Level 9
Nov 25, 2020 8:56 PM UTC
Solved

target data is not undefined

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.

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
shelly-goel
shelly-goelAccepted solution
Employee
Nov 25, 2020 11:59 PM UTC

@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?

6 replies

Sukrity_Wadhwa
Employee
Dec 3, 2020 1:57 PM UTC

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!

Translate
Sukrity Wadhwa
mmbb110Author
Level 9
Dec 3, 2020 3:45 PM UTC
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.
Translate
shelly-goel
shelly-goelAccepted solution
Employee
Nov 25, 2020 11:59 PM UTC

@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?

Translate
mmbb110Author
Level 9
Nov 28, 2020 10:00 PM UTC
I think it is copied over from another message, I found it odd too.
Translate