Skip to main content

Standard functions for messages

Suggest edit Updated on November 29, 2021

You can use standard functions to evaluate messages in your application. By understanding the errors and warnings that are associated with your application, you can debug issues quickly and improve your guardrail compliance score.

The following standard functions are supported:

  • getRuleMessage(tools, messageName) — Returns the localized text of a message.

  • pyGetUnlocalizedRuleMessage(className, ruleMessageName) — Returns the original text of the message.

  • hasMessages(stepPage) — Determines whether a clipboard page has messages associated with it.

  • hasMessagesOnGivenProperty(myStepPage, myPropertyReference) — Determines whether a property has messages associated with it.

Did you find this content helpful? YesNo

0% found this useful

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us