how do I search with a special character without it being replaced?

L Schmitt
Kilo Explorer

I'm an end user, I'm not looking for a scripting answer.  I want to search for an existing task or incident containing exactly "g_law" and SNOW is returning thousands of hits where the result should be in the range of 0 - 10.

5 REPLIES 5

Jon Barnes
Kilo Sage
Where are you searching from? Top search bar of the website? Or are you using the filters on the incident list directly? Generally if I want to find records that contain your text, I would type “*g_law” for example. If you just type “g_law” it is probably doing a Greater than type query, but the asterisk in front tells it to do a contains type query

Not applicable

Hi Schmitt,

Go through following link...it  may not resolve your issue but it has lots of info on Searching and search results.

https://support.zendesk.com/hc/en-us/articles/203663206-Searching-tickets

https://community.servicenow.com/community?id=community_blog&sys_id=730e6e2ddbd0dbc01dcaf3231f961928

 

Regards 

Ajay

find_real_file.png

www.DxSherpa.com

 

Behshid Khairdi
Mega Expert

Hi Schmitt,

Please look into into the following screenshot:

find_real_file.png

Note: You can search a particular field with "*g_law" as shown above, so that it returns you only the records that contain the "g_law" keyword.

 

Mark Correct or Helpful if it answered your query.

 

Regards.

Behshid K

find_real_file.png

www.dxsherpa.com

L Schmitt
Kilo Explorer

I'm searching in the top search bar so that either incident or tasks are returned.  *g_law resulted in 0 hits, which may be correct, but I cannot verify.  SCCM/Rich results is 1 hit, *SCCM/Rich results in 91 hits.  MFP_ results in 551 hits, *MFP_ results in 0 hits.  So it seems "special character, depends on which character, and I did specifically ask about the underscore.

Trying to find a ticket that should result in a hit, I tried *_, which resulted in 0 hits.

 

I gave up looking and entered a new INC in the test system.

Short Description: this ticket has the keyword g_law

Description: this ticket has the keyword g_law

 

using the top search bar, 0 results for *g_law

 

I would say the * works in the global search for some special characters, but not the underscore.

A filter on all incidents, keywords are *g_law

resulted in

Your text query contained only common words or ambiguous wildcards, please refine your search and try again

A filter on all incidents, keywords are g_law

resulted in 4154 hits

 

A direct filter of the short description *g_law works to return my only 1 existing INC -- but that's not what I wanted, I wanted to find it anywhere.

 

---

I did another example in production.

All incidents, filter Description on *_RPT.

318 hits -- reasonable

A global search on *_RPT

0 results for *_RPT

--

tried html

g_law

that resulted in 4435 results

----

I believe the answer is:

https://webapps.stackexchange.com/questions/75121/how-do-i-escape-google-functional-characters

"It seems that searching using symbols is a problem that is largely not dealt with"

 

___

looks like, in this case, I'm going to have to do a more directed search into the likely field containing my keyword.