Hi there!
I am trying to create conditional content based on the segment code i have created in my workflow:
But when i try to send the delivery, this error happens:
JST-310000 Error while compiling script 'content htmlContent' line 4: invalid XML name (line=' if ( <targetData.segmentCode> == <"info"> ) { document.writeraw("info"); ' token='"info"> ) { document.writeraw("info"); ').
Could anyone help me?
Thank you team
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @Javi_Landa ,
Modify your condition as below,
<% if ( targetData.segmentCode == "info" ) { %>
Insert content here
<% } else { %>
Insert content here
<% } %>
Views
Replies
Total Likes
Hi @Javi_Landa ,
Modify your condition as below,
<% if ( targetData.segmentCode == "info" ) { %>
Insert content here
<% } else { %>
Insert content here
<% } %>
Views
Replies
Total Likes