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

Parameter values in Field Value rules not localized

SA-20613

Summary



Some field value rules include dynamic parameters, such as the out of the box field value: ChangeTrack_Add which has the localized value of:

Added {1} value ‘{2}’

At run time, this adds an entry like: "Added Case Ownership value ‘Administrator’;" to the History Memo (pyHistoryMemo) of a case, where "Case Ownership" and "Administrator" are the run-time values of parameters {1} and {2}.

These parameter values are not localized by the Localization Wizard in Pega 7.1.8.


Error Messages



Not Applicable.


Steps to Reproduce



1. Run the Localization Wizard.
2. Provide translations for field values with parameters.


Root Cause



A defect in Pegasystems’ rules.  Some out of the box parameterized field value rules do not reference the necessary lookup controls.

Resolution



Perform the following local-change:
  1. Modify the necessary Field Value rules (you'll have to save them into your application ruleset) to include the necessary value lookup control. In this example, the CaptionLookup control has been added to the parameters, though others exist (such as StatusLookup or InstructionsLookup).


     
  2. Add new field values for the necessary parameter values, using the parameter values (in this example "Case Ownership") as the Label and Translated value for the new field value and use "pyCaption" as the Field Name value.  These field values should use @baseclass as their Applies-to class.


     
  3. Repeat step 2 for each possible parameter value for any parameters in the field value that references them.

Published March 12, 2016 - Updated October 8, 2020

Was this useful?

100% 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