Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Malformed URL in Case Reminder Email

SA-7930

Summary



Developers notice when using a correspondence rule to send a URL, that the URL generated lacks spaces, "%20", or  '+' characters between the class and handle ID,.

Error Messages


Work Object Not Found

The work object was not found in the current application.
Check the ID and try again
.


Steps to Reproduce


1. Create an activity with a Java step which calls" com.pegarules.generated.pega_rules_decision.EvaluateExpression(tools,myStepPage,strMessage,arMessage)" on an existing Message generated via a Correspondence rule.
2. The resulting URL in the message has the spaces, "%20", or '+' characters removed


Root Cause



The root cause of this problem is a defect in customer application code/rules. The message generated via the correspondence rule should not be processed by the EvaluateExpression() utility.


Resolution



This issue is resolved through the following local change:
Prior to calling the EvaluateExpression() utility check if the CorrName parameter is null.
if(tools.getParamValue("CorrName") == "")

Published January 31, 2016 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us