Different types of Info messages
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2023 05:14 AM
Since moving to Tokyo (Next Experience) I have noticed a slight change in info messages (gs.addInfoMessage()).
I now see two styles:
- Pop-up messages (appear at the top of the screen on a layer in front of the form)
- Regular messages (appear at the top of the form in the same layer and push the rest of the form content down)
The pop-up messages have the ability to cover the form content (if there are too many) and also gives the ability to 'Show All'.
I am wondering how to trigger the pop-up messages? If I create a Business Rule, Client Script etc. that adds an info message, it always defaults to the 'regular' messages.
To clarify, I'm not talking about alerts (pop-ups that prevent the user from doing anything until they click ok/cancel).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2023 05:18 AM
Can you elaborate little more on how both are difference and what code are you trying in your script for info message?
Thanks
Anubhav Ritolia
ServiceNow Rising Star 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2023 06:31 AM
Please see the two images:
Regular info messages:
Pop-up info message (with the regular message behind)
The reason I asked was because I couldn't see anything in the scripting that was different. They are just .addInfoMessage("example text");
I thought if someone knew about the 'pop-up' style, then it would give me something to help locate why one 'pops-up' and the other appears at the top of the form.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2023 01:22 AM
I think I found the answer to this myself. They are Next-Experience 'alerts'. Further info can be found in this article: