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

OOTB Properties are throwing Errors while submitting the case

SA-34816

Summary



Few existing flows which are working fine previously started throwing errors while submitting the case. This is happening after installing Hfix-28843.

Error Messages



**The page contains an undefined property: pyWorkPage.IsDataPageRefreshed
Validation failed: Errors Detected.
.pyAttachments(1): Validation failed: Errors Detected.
.pyAttachments(1).pyAttachmentContent: The page contains an undefined property: pyWorkPage.pyAttachments(1).pyAttachmentContent.pxAttachName
Validation failed: Errors Detected.

Steps to Reproduce



Not Applicable


Root Cause



A defect in Pegasystems’ code or rules

Hfix-28843 and Hfix-24122 contains changes so that few properties are populated in some clipboard pages. Those properties are not present in the corresponding class of the clipboard page, which are throwing errors when any validation is fired on pyWorkPage. The user has a page-change-class in their design which runs the validation on pyWorkPage.

Resolution



The local change contains two steps:
  1. Create IsDataPageRefreshed in @baseclass.
  2. Change the pyGetAttachmentContent so that one more step is added. This is an available rule, you can save as it to your ruleset.
Please refer the screenshot below which already contains the change.



The first step creates one missing property and the second step, changes the class of pyAttachment.pyAttachmentContent so that it points to specific attachment class instead of Data- and hence solving the issue.

Suggest Edit

Published March 10, 2017 - Updated October 8, 2020

Did you find this content helpful? Yes No

66% found this useful

Have a question? Get answers now.

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

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