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
- Use a flow to process and view an X12 message
- 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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.