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 for new cases are written to database in localized text



The pyLabel values for the new cases are written to the database in localized text. This results in display of case details in mixed languages when report definitions are run.

Error Messages

Not Applicable.

Steps to Reproduce

  1. Log in as a user with French locale and create a case
  2. Log in as a user with an English locale and create a case
  3. Run a report definition that includes the pyLabel field as the English user. pyLabel results display in both languages
  4. Query the database work table to confirm the data is written in different languages

Root Cause

The pyLabel property is set in the Work-.pyDefault data transform. This data transform is set using lookup function with a localized field value as the parameter. This sets the localized value to the pyLabel property.


Perform the following local change:
  1. Save-as a copy of the Work- pyDefault data transform rule in the application ruleset
  2. Change the Source which sets pyLabel as follows:

@lookup("pyLabel", "Rule-Obj-Class", "pyClassName", primary.pxObjClass, "",".pyCaption") 

@lookup("pyLabel", "Rule-Obj-Class", "pyClassName", primary.pxObjClass, "","") 


Published July 26, 2018 - 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