We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

How to find Info Message?

GeoffreyOptumOp
Tera Expert

OK.  This is downright embarrassing!  But I can NOT figure out where this blue message is coming from...

find_real_file.png

What in the world am I missing?  I have tried the following:

Global Search (Hourglass at top right of any page)
Code Search (Global)
Business Rules Table
Client Scripts Table
Messages table (sys_ui_message)
Search for the sys_id of the record.
Form Design (annotations) - No such annotation is present.
Tried disabling all associated Business Rules, Client Scripts and UI Actions.

1 ACCEPTED SOLUTION

GeoffreyOptumOp
Tera Expert

OK.  Wow.  This ended up being:

1) A message defined in a custom table "u_notes", which was NOT indexed.

and

2) A client script (sys_script_client) defined against table "global", which makes an AJAX call and looks for records in that custom table, and if found, does a showFieldMsg() or addInfoMessage() operation.  It uses the current table g_form.getTableName() and current sys_id getUniqueValue() as the input parameters.

So basically the concept allows the company to attach a custom message to any record or field, with no additional code being written, and no new fields defined.

I couldn't find the message because of the indexing, and I couldn't find the client script because it was defined at a level way above the table I was working with.

@shloke04 , @Tony Chatfield , @Hitoshi Ozawa , @Allen Andreas , @Mark Roethof Thanks for your input.

View solution in original post

19 REPLIES 19

I also thought about the message coming from a different level in the table hierarchy.  MY CMDB knowledge is not that great, and this table is a child of a child of a child of a child.

I think I tried going to one of the parent tables, and then opening the record FROM that table, but the record/form still opened up with cmdb_ci_win_server in the URL.  Is there a way to open the form at a different table level, so I can check for additional objects at a different level??

 

I searched table sys_script for anything that had a script field including the word "MIM".  I found 2 records.  Then I searched for anything containing the word "JDBC".  I found 2 MORE records.  I turned off all 4 Scripts (made them Inactive), and reloaded the form.  Message is still there.  I shouldn't have to do a cache.do or anything like that, right?

shloke04
Kilo Patron

Hi,

I find below method to be super handy in finding component like the message you are searching for:

1) Type in "sys_metadata.LIST" from Application Navigator search as shown below:

find_real_file.png

2) Hit Enter and then search your message in Text field as shown below:

find_real_file.png

This will give you the component where this message is configured in.

Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke

Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke

Thanks @shloke04 

I tried that, but I was not able to get the search to find anything useful...

find_real_file.png

I had to use double quotes in the Search For Text field in order to limit the number of results to something useful.

And I was not able to figure out a way, using the FILTER, to add multiple "Keyword" searches.  In other words, search for items with Keywords X and with Keywords Y and with Keywords Z.

I'm not fully understanding that "for text" search option.  After doing a search on 1 keyword, and then expanding the filter, this is the best I was able to come up with, and it did not seem to work either:

find_real_file.png

 

Just type in the message you are getting in text as shown below and try:

Type in your message in the highlighted portion in Red below and search as below:

find_real_file.png

Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke

Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke

Oh, I did that.  No results.