Support Article
Not able to increase the max length of a property
SA-13252
Summary
Currently the maximum length of a property is 12, which the user defined in the Advanced tab. When the user tries to increase the length to 13, the Pega application throws an error.
Error Messages
largest value expected:The value of Expected Size (13) cannot exceed the value of Maximum Length (12).
limits valid length of this property:Because property is exposed in a database column, 13 has been changed to 12 to conform to base property definition. The value of Expected Size (13) cannot exceed the value of Maximum Length (12).
Steps to Reproduce
- Copy (Save As) the property in a new version.
- In the Advanced tab, modify the maximum length.
Root Cause
As designed and documented in the Help topic, once the property is created, you cannot modify the length of the property to a higher value. However, you can decrease it to a lower value.
Resolution
You cannot modify the length of the property to a higher value once the property has been created and referenced in some rules.
When updating or overriding a property that has a Max Length defined, you can enter a smaller Max Length value but not a larger value.
See the PRPC 6.3 SP1 Help topic: (This SA pertains to PRPC 6.3 SP1.) https://community.pega.com/sites/default/files/help_v63sp1/Default.htm#rule-/rule-obj-/rule-obj-property/advanced.htm
Published August 24, 2018 - 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.