My survey widget in servcicnow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-14-2019 05:10 PM
in service portal we have defined "My survey" widget. Here what the need is we need to get only request and incident surveys. Other than that i dont need any other kind of surveys. But currenlty apart from request and incident surveys ,we are getting some other surveys on that widget. So we dont want any other surveys to be displayed when it was triggered. We need only Request and incident survey.
So how can we achieve this
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-18-2019 12:39 AM
Hi Can anyone help me on this please? It is critical one i need to sort out

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-18-2019 01:18 AM
Hi Faiq,
Small correction in your query. You need to change it to
gr.addQuery('task_id.number','STARTSWITH','REQ');
Let me know if it helps.