ServiceNow Certified Application Developer — Question 1
Which of the following methods prints a message on a blue background to the top of the current form by default?
Answer options
- A. g_form.addInfoMsg()
- B. g_form.addInfoMessage()
- C. g_form.showFieldMessage()
- D. g_form.showFieldMsg()
Correct answer: B
Explanation
The correct answer is B, as g_form.addInfoMessage() is specifically designed to show informational messages with a blue background at the top of the form. Options A, C, and D either do not exist or serve different purposes, such as showing messages related to specific fields rather than general information.