My Request Widget - No Preview Available
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2018 08:10 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2018 08:24 PM
The OOb my Request widget does below check, cross check this filter at your end.
var gr = new GlideRecordSecure('sc_request'); // does ACL checking
gr.addActiveQuery();
gr.addEncodedQuery('requested_for=javascript:gs.getUserID()');
gr.orderByDesc('sys_created_on');
gr.query();
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2018 10:37 AM
Kushagra-
I validated that code is present in the widget. I also attempted to recreate the issue in my servicenow dev instance and did not get the same error.
I created a copy of my requests widget > copied the code from my servicenow dev instance (where it was working)...still get the same results.
I have validated that the builds/patch level for both my dev instance and my hosted servicenow dev instance are both the same.
What am I missing?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2018 10:56 AM