- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2015 04:45 PM
Hi all,
I have a requirement to display a pop-up containing a message to users logged in every x hours i.e. 1 message after 2 hours and another after 4 hours etc. My initial thoughts are to somehow use the Logged in User table to figure out the timings and users then display a dialog. Maybe a scheduled job running every 5 minutes to monitor.
Has anyone done something similar and can offer some advice?
thanks
David
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2015 04:58 PM
Hi David,
I haven't created anything similar to this but for it to be an actual popup you would need to have something that could interact with client side code. The client side code could do the actual 'checking' via polling (via script include) of some sort and present the user with a popup. A global UI script can be used for this. This might have performance impact, so be careful when developing and testing it.
You could use a scheduled job to determine if a user should get the popup based on the last time they had one. You could create some logic for it in a script include.
A good starting point could be a update set that SNCGuru has created, it has similar logic in there. You will need to adjust it to your own requirements. You can find it here: Login Terms and Conditions Dialog - ServiceNow Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2015 04:58 PM
Hi David,
I haven't created anything similar to this but for it to be an actual popup you would need to have something that could interact with client side code. The client side code could do the actual 'checking' via polling (via script include) of some sort and present the user with a popup. A global UI script can be used for this. This might have performance impact, so be careful when developing and testing it.
You could use a scheduled job to determine if a user should get the popup based on the last time they had one. You could create some logic for it in a script include.
A good starting point could be a update set that SNCGuru has created, it has similar logic in there. You will need to adjust it to your own requirements. You can find it here: Login Terms and Conditions Dialog - ServiceNow Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2015 10:02 PM
Thanks for the ideas Thijs! I've started on a client script that will fire on a user triggered action on a particular task form. This will make an ajax call to look at a table with the last timestamp message to that user and if within frequency will display another. Will also try and pair with session info, but the SNC Guru thing is a great example.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2020 10:20 PM
Hi asd,
Did you download the update set from ServiceNow Guru for this solution? I've tried to download the update set mentioned there unsuccessfully.
That solution looks like what I need for my client. If you have it or know of someone that does, could you direct me to them or have them send it to me?
Appreciate any assistance you can provide.
Thanks
John Quinonez
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2020 10:19 PM
Hi Thijs,
Did you download the update set from ServiceNow Guru for this solution? I've tried to download the update set mentioned there unsuccessfully.
That solution looks like what I need for my client. If you have it or know of someone that does, could you direct me to them or have them send it to me?
Appreciate any assistance you can provide.
Thanks
John Quinonez