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

Issue with Inheritance



Property x is present in the abc-work class where the Max length value is 32. The Max length is defined as 35 in the abc-work-test class. However, when the user inputs 33 characters for the workobject in the abc-work-test class, exception occurs indicating that the Max length is 32.

Error Messages

Not Applicable

Steps to Reproduce

Execute a rule in the abc-work class by referring to a property and the run time class of the property in the abc-work-test.

Root Cause

A defect in Pegasystems’ code or rules. Activities and other rules are defined in abc-work and the generated java property Max length is inlined. Hence, 32 is inlined in this case and as a result the exception occurs.


Perform the following local-change: 
  • Save as the referencing rules to a specific class
  • Remove the Max length from the properties in both the sub class and super class and add validation during the save time using extension points like Work-.Validate activity which is invoked from the out-of-the-box save activities
  • While performing explicit obj-save of work objects, user must take care of the validating max length before saving by writing java or using any rule-utility-function or validate rules



Published August 19, 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