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

pyLabel error is thrown when value exceeds 64 characters length

SA-28662

Summary



The user has configured an activity where in pyLabel is used and the property value is set to this by concatenating with properties X & Y ( both of length 40 characters each). When running through the scenario, though pyLabel is not used to display the value.


Error Messages



" pyLabel:label_name is too long, maximum length allowed is 64."


Steps to Reproduce

  1. Perform a Property-Set which has source as "pyLabel" and value to be more than 64 characters long.
  2. Run through the scenario and observe the error on the screen


Root Cause



It is observed that the upper lmit for pyLabel is 64 characters. Hence, though you alter the database column, it would not allow you to have the value for pyLabel more than 64 characters. 

https://pdn.pega.com/sites/default/files/help_v718/procomhelpmain.htm#concepts/concepts2/conceptslimitsmaximumshtm.htm

Resolution



As per the on-line help, if there is any business requirement to display text that is larger than 64 characters, it is recommended to use a Paragraph rule instead of pyLabel.

Published October 7, 2016 - 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