addInfoMessage of the gs class can be used to add an information message to the current interactive user session. These session information messages are shown to end users at the top of the form and below any addErrorMessage entries.
Usage:
gs.addInfoMessage(Object message);
Example:
gs.addInfoMessage("Incident record successfully updated.");