Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2017 02:30 AM
Hi Mujtaba
I can't see any obvious reason why this isn't working. But can give you a useful tool to debug.
At the end of your code if you add:
gs.log("Current Query:"+current.getEncodedQuery(),"Mujtaba Ahmed");
This will print out the encoded query into the logs. You can then copy this into the browser, your_instance/[your_table]_list.do?sysparm_query=[the query] to see exactly what the code is doing. Helpful to spot any errors.
Regards
Shaun