How to convert the encoded query to readable one
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2019 07:35 AM
var gr = new GlideAggregate('sn_hr_core_task');
gr.addEncodedQuery("active=true^parent=" + current.parent);
gr.addAggregate('COUNT');
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2019 10:39 PM
Hi Vijay,
Can you explain in detail what is required?
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
02-14-2019 06:00 PM
if we have a encode query like this
Query = "user=" + user + "^delegate=" + delegate + "^assignments=true^starts<=javascript:gs.endOfToday()";
How ca we decode and read it.actuall iam getting this query from the script,i want to know what it is ?
how can we read it so that we can understand the meaning of query like ezample :active is true

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2019 07:17 PM
In order to read encoded query, you need to know operators and fields names used in the encoded query.
https://docs.servicenow.com/bundle/london-platform-user-interface/page/use/using-lists/concept/c_EncodedQueryStrings.html
Regards,
sachin