addInfoMessage()

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.");

Get ServiceNow Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.