Is there a way to use wildcards in Global Search automatically without having to type in "*"

vedang_vaidya
Kilo Expert

There is a recent demand requesting us to find a way to be able to search part of a word in Global search. This is already possible using * before or after the word itself. But as impractical as it may be, the need is there to put this in as an auto-feature

Currently, when a ticket list is searched, such as all open Incidents, all you have to do is type in the search word, and the wildcard is automatically added before it. Can a similar system be added to Global search, automatically editing the user's input to include wildcards?

So to sum up, if I type in test in the Global search, I need the search to be performed on *test*. Can someone help in this, if at all it is possible.

Thanks!

3 REPLIES 3

Dave Smith1
ServiceNow Employee
ServiceNow Employee

I'm not sure that there is without some JS wizardry that adds asterisks as bookends to the search term.  



However, a deeper question is - have you thought about what this feature would bring? If I searched on "word", it would automatically find plenty of false positives (e.g: "wordpress", "sword") without any way of removing search results.


I agree that this is really impractical and it has been mentioned. We have already shown what this brings about. Search results went up from 2400 to 8700 when the asterisk was added. But this is what the client needs so not much we can do.


Zmud1
Tera Contributor

@Dave Smith1 @vedang_vaidya  Hi, have you found any solution for this? We have similar requirement. In the worst case - would you be so kind to elaborate how to do this "JS wizardry"?