- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2016 10:36 AM
Is there a way to put a warning message on a record producer (Either when first going to the form or after submitting) that only shows up after a certain time?
I need to put a warning up that shows up only during the hours of 5 PM - 8 AM.
Thank You!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2016 10:40 AM
You should be able to write this in the script section of the record producer.
Use gs.addInfoMessage()
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2016 11:58 AM
Yes, that works but I need it to only happen at certain times of the day.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2016 12:39 PM
Yes, but you can use these functions to calculate that:
http://wiki.servicenow.com/index.php?title=GlideDateTime
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2016 12:49 PM
Thanks for the reply! Could you give me an example of how the script should look?