- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2022 10:24 PM
20220101T020000Z
can anyone please help me how to fetch using script.dateGR.addEncodedQuery('due_date_time>javascript:gs.beginningOfToday()');
but it is not workingSolved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2022 10:38 PM
Hi Shaik,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2022 12:17 AM
Its a Schedule Date/Time type field so its storing in that format only and its same for all the records
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2022 12:53 AM
then you cannot directly query in addEncodedQuery() because it requires value similar to GlideDateTime
Try to apply filter using filter conditions and then try to copy and use if that works
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2022 10:38 PM
Hi Shaik,