Question

1
Replies
260
Views
MAYURK52 Member since 2010 4 posts
Cognizant
Posted: April 25, 2016
Last activity: April 25, 2016
Closed
Solved

JSP scriptlet error in correspondence fragment

Getting error in existing  correspondence rule while doing save as in new version

"content of stream definition:** There is a JSP scriptlet (<% ... %>) which is unterminated"

I think while doing a save as correspondence fragment is converting tags into ascii values.

Below is the code snippet

<pega:choose><pega:when name="useDesktop"><A href="%3Cpega:reference%20name='$save(PublicLinkURLRetail)'/%3E?pyActivity=TD-FW-GRCFW-Work.WorkLinkAccessToRetail&mailThread=<pega:reference name='$save(EmailThread)'/>&InsHandle=ASSIGN-WORKBASKET+<%try {tools.appendString(pega_rules_utilities.encodeURLParameter(tools.getDatabase().getHandle(tools.getStepPage())));} catch(DatabaseException de) { tools.appendString(pega_rules_utilities.encodeURLParameter(tools.getProperty(" target=_blank % } .pzInsKey?).getStringValue()));>!SendEmailToRetail&InsClass=Assign-WorkBasket&CurrentWorkIndex="&gt; Click Here </A></pega:when><pega:otherwise><A href="%3Cpega:reference%20name='$save(PublicLinkURLRetail)'/%3E?pyActivity=Assign-WorkBasket.ProcessAssignment&InsHandle=ASSIGN-WORKBASKET+<%try {tools.appendString(pega_rules_utilities.encodeURLParameter(tools.getDatabase().getHandle(tools.getStepPage())));} catch(DatabaseException de) { tools.appendString(pega_rules_utilities.encodeURLParameter(tools.getProperty(" target=_blank % } .pzInsKey?).getStringValue()));>!SendEmailToRetail&InsClass=Assign-WorkBasket&CurrentWorkIndex="&gt; Click Here </A></pega:otherwise></pega:choose>

Not able to modify rule, Please let me know if any suggestion.

Moderation Team has archived post
Share this page LinkedIn