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

Error occurs when saving a correspondence rule



Error occurs  when saving a correspondence rule.

Error Messages

content of stream definition—
** The pega:save tag is declared to have an empty body

Steps to Reproduce

  1. Open an existing correspondence rule which has the pega:save tag.
  2. Save As to a new version.

Root Cause

An issue in the custom application code  or rules. In the correspondence rule, there are self closing pega:save tags. Though the tags are JSP tags, they must have the correct closing tags when authoring them in the Rich Text Editor (RTE). This is because, when HTML is authored in a content editable field and rendered, the browser moves subsequent tags to the self closing tag as children. This breaks the User Interface (UI). In this case, the error occurred since the pega:save tag has children tags.


Perform the following local-change:

Modify the self closing tag to have an ending tag.

For example:

Modify the below, 

<pega:save name="Selected" ref="$this.Selected"/> 

t o

<pega:save name="Selected" ref="$this.Selected"></pega:save>

Published January 5, 2019 - 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