Resource search on Dispatcher Workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2024 02:28 AM
Hi Team,
I'd like to improve the efficiency of resource management on the dispatcher workspace. Currently, we can only search for resources by typing out their full names. I want to enhance this search functionality by enabling a "contains" search, which is the traditional way of searching through a list of items.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2024 04:11 PM
Currently, the resource search uses '123TEXTQUERY321'. It returns the string matches in all fields on a table.
For example, this script returns records from the Incident table with field values that include the 'email' string. It looks for keyword "email" across all the fields.
var now_GR = new GlideRecord('incident');
gr.addQuery('123TEXTQUERY321', 'email');
gr.query();
If, we plan to use "contains" instead of "123TEXTQUERY321", we only limit search to specific field and we cannot search across all fields on the table.