Create a Filter in My request Widget
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā02-15-2023 07:02 AM - edited ā02-15-2023 07:26 AM
My Request Widget gives the list of all tasks Created by me. Like Incident , REQ and RITM.
I need to create another filter to add type of task. Filter options will be Show Incidents, Show REQ, Show RITM.
I have clonned the My request widget, How do I create a custom filter in the widget?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā02-15-2023 07:15 AM
Hello @anu57
The widget that you are referring to cannot be customized.
You need to clone the widget and then customize it.
The widget can be found here - https://xxxxxx.service-now.com/nav_to.do?uri=sp_widget.do?sys_id=8cc0df25875023000f220cf888cb0bb5
You need to customize the server script with the table and the query you want to run to render the records.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā02-15-2023 07:26 AM
I have cloned the widget, how do I pass the query based on the input from the filter

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā02-15-2023 07:54 AM
Hello @anu57
Please refer to lines 106-137 in the server script.
You can see how the query conditions are passed.
You can add your custom query conditions for the tables you want to show up.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā05-14-2023 04:01 PM
Did you have any luck creating the filters you wanted?