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

GetRuleMessage function behavior incorrect

SA-91446

Summary

GetRuleMessage function returns a message rule name instead of a localized message. The localized message is rendered when the message is present in @baseclass.


Error Messages

Not Applicable


Steps to Reproduce

  1. Open a data transform or a decision table
  2. Click the Gear icon
  3. Perform a search for the GetRuleMessage function
  4. Pass Tools and message rule name. The localized message is not created
     

 

Root Cause



This behavior is as per the Pega product design. GetRuleMessage RUF works for rules defined in @baseclass by default.


Resolution

Perform the following local-change:
Use pzGetRuleMessage RUF instead of GetRuleMessage.


 

 

Published October 18, 2019 - Updated December 2, 2021

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