Code example ServiceNow - Usage of getMessage function

Code examples

Noncompliant code

getMessage("Your Message key");

Compliant code

getMessage("Your Message key", function(msg){
var otherMessage = msg; 
});

Last modified on May 10, 2021