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

Smart Dispute Country property width issue

SA-11403

Summary



At runtime, you observe that data is restricted for the country property's max length of 20 characters even though you have an overridden version of the property with no max length defined.

Error Messages



"STRING LONGER THAN TWENTY CHARACTERS" is too long, maximum length allowed is 20

Steps to Reproduce



Override the "country" property with a new max length after an activity referencing it is saved.

Root Cause



The generated java for activity rules includes a ClipBoardProperty.setEntryCode call whose parameter refers to the max length of the property, for example pz_5.setEntryCode("sTN255") was generated when the max length is 255 characters. When the property max length is changed, the system does not regenerate the java for the activity.  

Resolution



Copy the activity after removing the property's max length to resolve the issue.

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