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

Property-Set-XML method not working as expected



When user is using Property-Set-XML method and if property does not have any value, tags are displayed.

Error Messages

Not Applicable

Steps to Reproduce

1. Create a data model and mapped to the Parse XML rule.
2. Create a sample XML.
3. Run this XML in the Parse XML rule.

Root Cause

An issue in the custom application code and rules.

Found that tag is generated for the empty property also.

So this clearly shows that tags are generated for empty properties also.


Perform the following local-change:

1. Create a new DSS rule StreamXML/DetectEmptyProperties and set value to false.

2. Clear the Pega Temp Cache.

3. Restart the server.

4. Revalidate all the Parse-XML and Stream-XML rules.

Published May 17, 2017 - 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