Remove infomessage after specified time

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-08-2018 03:56 AM
Dear Community,
I have a form where an infomessage is displayed after submit.
I would like the infomessage to disappear after 10 seconds.
Is there a way to achieve that?
Thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-08-2018 05:50 AM
Hi Lukas,
OOB, no. If it's a blue info message or red error message, then they must be acknowledge manually by the user clicking them. I thought green system notifications went away after a while, but I haven't checked lately.
https://developer.servicenow.com/app.do#!/api_doc?v=kingston&id=r_GlideFormAddInfoMessage_String
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-07-2023 06:14 AM
The duration of the green and red ones (info messages and error messages) can be adjusted through the system property "glide.service-portal.notification_timeout.seconds" (addMessage popup is inconsistently disappearing or staying up in the service portal - Support and Tr...).