- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-19-2019 01:01 AM
Dear Community,
now I am here for my first question in this community (after finding until now much help in other threads).
I have a custom Date/Time field ("Waiting start date") on incindent table, which i want to check for overdue, when loading the incident form and then give out a message.
Tried it with a UI Policy with "Waiting start date at or before Current minute", but also after hours overdue the "Execute if true" did not execute. For "Debug" i have set Reverse and then i gave out the opposite message (see screenshots). This message is displayed every time (overdue or not).
What could be the problem? Or what could be an alternative solution?
(I know Date/Time handling on Client Side is not easy with Time Zones and different User Formats for the date).
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-19-2019 01:39 AM
Is the 'Waiting start date' field visible on the form?
Just as an FYI, you might want to implement this via On Display Business Rules instead.
This will be faster than using Client side code.
Same condition, just create two (one for the inverse) using gs.addInfoMessage() instead.
ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-19-2019 01:39 AM
Is the 'Waiting start date' field visible on the form?
Just as an FYI, you might want to implement this via On Display Business Rules instead.
This will be faster than using Client side code.
Same condition, just create two (one for the inverse) using gs.addInfoMessage() instead.
ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-19-2019 04:39 AM
Thank you Paul, the tip with the Display Business Rule solved my problem.
Kind regards,
Anke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-19-2019 03:05 AM
Yes, the field is visible on the form (if the corresponding On Hold Reason is selected).
I will check your suggestion.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-19-2019 03:13 AM
Hi there,
You can stop searching!
We currently have a Hi Support Case for exactly the same issue. They could reproduce this bug and are investigating this. This only occurs while using Date/Time fields. When using for example String fields, it all works fine.
If my answer helped you in any way, please then mark it as helpful.
Please mark this answer as correct if it solves your problem. This will help others who are looking for a similar solution.
Kind regards,
Mark
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field