Question
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="> 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="> Click Here </A></pega:otherwise></pega:choose>
Not able to modify rule, Please let me know if any suggestion.
What version of Pega are you on? Can you show us the original from which the Save As was created? What you're showing above is too corrupted to understand without at least seeing what it originally looked like. For example, here is a standard OOB instance referenced from a Flow Action.
Looking at what you pasted, you've got some corruption going on as opposed to tags losing their encodiing.