Processing element MESSAGE
Message is elements, which configures which messages will be printed during rule processing.
Messages have 4 levels – message, notice, warning, and error. Levels are configured using attribute level. The message levels are affecting the style how the message is printed in web page and helps to distinguish relevance of message to user.
Messages can be inside other rules element for example TEST or CHANGE. Then messages are printed only when all parent element and all actions above line with message run.
Text of message can be configured using 3 ways:
1. Text is placed directly to rule – example:
Text is loaded from system dictionary from directory etc/dictionaries, for example tws rule will print system message “There is no data for the selected Application. Please try it again.” , message is loaded from dictionary twaz_dictionary.xml from id CPIN001-
Text can loaded from custom dictionary twaz_custom_dictionary.xml from directory etc/dictionaries
Example: twaz_custom_dictionary.xml contains following text
Tws rule will print this text by following message element
Last updated