What is the use of 'message' field in client script??

rm3
Giga Contributor

Hi all, i am new to service now, just wanted to know what is the use of 'message' field in the Client script form. Please clarify this with a simple example if possible...

 

 

1 ACCEPTED SOLUTION

The messages can be anywhere used where messages are applicable. The example is an error message, you could also use this on the info message, alert, etc.. 

You will find the Messages if you navigate to "System UI > Messages".

Below the message from the above example:

find_real_file.png

If my answer helped you in any way, please then mark it as helpful.

Kind regards,
Mark

---

LinkedIn

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

View solution in original post

13 REPLIES 13

rm3
Giga Contributor

Thanks for your quick reply sir , can u please post the snap of  sys_ui_message record that u have written and after execution of the script where does this message show up or display......

 

 

The messages can be anywhere used where messages are applicable. The example is an error message, you could also use this on the info message, alert, etc.. 

You will find the Messages if you navigate to "System UI > Messages".

Below the message from the above example:

find_real_file.png

If my answer helped you in any way, please then mark it as helpful.

Kind regards,
Mark

---

LinkedIn

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

rm3
Giga Contributor

thank you....

Community Alums
Not applicable

Hi all, 

It is very helpful

I've got a question relating to the client scripts which have more than one getMessage(). How do i can populate the message ? 

The messages have to separated by "," or ";"

 

 

Thank you in advance !

 

Hi there,

Multiple messages can be separated with an enter. So no comma or semicolon, just enter.

If my answer helped you in any way, please then mark it as helpful.

Kind regards,
Mark

---

LinkedIn
Community article list

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn