Reference List Display Problem

plallema
Tera Expert

I was on vacation last week and upon my return i find that all fields referencing the User table (sys_user) when clicking on the lookup icon, gives me a pop up list with no records. I've been searching all over the place as to what can be the problem and to no avail. The problem doesn't exist on my development instance. Now the help desk is stuck not being able to assign other user to a ticket in incident and problem and change is affected as 'assign to' field references the User table.

1 ACCEPTED SOLUTION

CapaJC
ServiceNow Employee
ServiceNow Employee

You might try the following script that might fix the dictionary record, bypassing the Business Rule that's preventing you from changing it.



doit();
function doit() {
var gr = new GlideRecord('sys_dictionary');
gr.addQuery("name", "sys_user");
gr.addQuery("element", "first_name");
gr.query();
if (gr.next()) {
gr.setWorkflow(false);
gr.autoSysFields(false);
gr.internal_type = "string";
gr.reference = "";
gr.update();
}
}


View solution in original post

10 REPLIES 10

plallema
Tera Expert

Thanks for the script it worked great!!!!