Errors when opening flow - Label cache error: Table not found: _custom_table_in_different_app_scope

Ron28
Kilo Sage

I get an number of warning messages when opening up a flow using flow designer, all relating to a table in a different app scope. That other app scope was deleted from the instance but I am puzzled where the reference is to that table in the app scope where I opened the flow. The issue is not just on a single flow, it is all flows in the app scope I am trying to edit.

 

Would anyone know how to find this reference in my app scope? I've gone through the various flows that I opened but there is nothing that ties these flows to that table in the other app scope (as far as I can tell). 

 

These errors show as a warning when opening the flow but show as an error when trying to save it - which then fails.

 

Thanks

Ron

6 REPLIES 6

Jophy John
ServiceNow Employee
ServiceNow Employee

Hello 
The script should not have problems with "gs.print" when executing from the global scope. It is the 5th instruction in the KB Instructions section that is talking about the scope.
What errors are you seeing?

Thanks
Jophy

 

Ron28
Kilo Sage

The script runs ok (in Global Scope) but gets an error in line 155 - it complains about a control character in a string, but the cleanup part of the script appears to have done its job. 
The first time I ran this with Debug=true it found a number of references to the old deleted table. I then ran the script with Debug=false which has cleared all those old table references. 

As the KB mentions the UI may hold a copy of the label cache so I cleared the browser cache.  I then open flow desginer and one of the flows of the new app scope, this still gets 3 errors "Label cache error: Table not found: old_table_name"

I also checked with the action script but that had no references to that old table at all. I also used a different browser to see if that made a change but did not work either, Flow Designer still showed the same 3 errors.