
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2019 02:48 AM
Hi there,
Upon using the Action Utility within the Virtual Agent, I'm encountering an issue with scripted date/time. On the Utility, I've scripted the value of a field as 'javascript: new GlideDate()'. This looks oke (picture 2). Though if I look at the generated record, all values have been created fine except for the date/time of visit?!
I also tested with a hardcoded date/time (on Time checked in), that does work fine.
Any ideas?
Kind regards,
Mark
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2019 11:20 PM
Hi addressed this as an issue and opened a Problem for this: PRB1328900.
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2019 03:53 AM
Hi,
Have you tried using 'javascript: new GlideDateTime()' instead? It may not be populating because it's only a date populating a date AND time field.
Hope this helps!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2019 07:58 AM
Hi Barbara,
Thanks for the response.
Did try, no luck, unfortunately. Also tried with a Script Action, that does work. Tried both situations also on Madrid, no difference.
Feels like a bug. I will report this thru Hi. A bug because visually you do see the data on picture 2, though it's not being saved.
Kind regards,
Mark
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2019 11:20 PM
Hi addressed this as an issue and opened a Problem for this: PRB1328900.
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2022 03:53 PM