jsn / ServiceNow, simplified.
AustraliaREFERENCE GUIDE

FormInfoHeader - Global

On this page

FormInfoHeader- Global

The FormInfoHeader script include provides methods to add an HTML message as a form info message.

The addMessage() method is commonly used in record producers.

Parent Topic:Server API reference

FormInfoHeader - addMessage(String message)

Adds an HTML message to the form header, where form info messages are displayed.

Name Type Description message String A message that may include HTML tags. Type Description void  
gs.include("FormInfoHeader");
  var fi = new FormInfoHeader();
  fi.addMessage('This incident was opened on your behalf<br/>
     The IT department will contact you for further information or when the incident is resolved');

Keep exploring.

Find another answer, or bring this documentation into your own tools.