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

PegaHC Framework not parsing X12 Message correctly

SA-11852

Summary



Developers notice that when they attempt to parse the N837 X12 messages that classless pages are created when no content exists.

Error Messages



Not Applicable

Steps to Reproduce

  1. Use a flow to process and view an X12 message
  2. Open the clipboard and observe classless pages are generated.

Root Cause



The blank pages are created due to references from when rules for section visibility.

Resolution



The explanation for this behavior is as follows:
If the blank pages are not desired, add a condition to the when rules in question to check if the property "exists and has a value" prior to checking its specific value. The defined when condition mentioned calls the function
PropertyHasValue mentioned in the PDN article below.

https://pdn.pega.com/java-and-activities/use-getifpresent-or-propertyhasvalue-to-test-whether-a-property-exists

Published July 7, 2015 - 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