target data is not undefined | Community
Skip to main content
New Participant
November 25, 2020
Solved

target data is not undefined

  • November 25, 2020
  • 2 replies
  • 2849 views

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.
Best answer by shelly-goel

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

2 replies

Sukrity_Wadhwa
Employee
December 3, 2020

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!

Sukrity Wadhwa
mmbb110Author
New Participant
December 3, 2020
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.
shelly-goel
shelly-goelAccepted solution
Employee
November 25, 2020

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

mmbb110Author
New Participant
November 28, 2020
I think it is copied over from another message, I found it odd too.