LinkedIn
Copied!

Table of Contents

Standard functions for messages

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.

Have a question? Get answers now.

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