Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

'Undefined' error pop-up when loading INCs in any Workspace

JR42
Giga Guru

Hi. I am receiving a pop-up that reads, "Undefined", every time I open an Incident in a Workspace.

Same issue on Agent Workspace and Service Operations Workspace.

This only occurs when opening Incidents.  No other record types are affected.

 

I suspect a UI Policy or Client Script is causing the issue.

 

How can I figure out what is causing this error?  Are there specific logs I can look at, or something in the browser console? 

 

2024-01-24 13_28_05-Last day of month testing v2 - Cal. 3 - Business Calendar START - Month _ no off.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1 ACCEPTED SOLUTION

Ahana 01
Tera Expert


Sure, here are the steps you can follow to troubleshoot this issue:

1. Open the browser's developer console: This can usually be done by right-clicking on the page and selecting "Inspect" or "Inspect Element". Then, go to the "Console" tab.

2. Reproduce the issue: Try to open an incident again and see if any errors appear in the console.

3. Check for errors: Look for any errors in the console that might be related to the issue. These could be JavaScript errors caused by a UI Policy or Client Script.

4. Disable UI Policies and Client Scripts: If you suspect a UI Policy or Client Script is causing the issue, try disabling them one by one to see if the issue persists.

5. Check the logs: You can also check the ServiceNow logs for any errors. Go to System Logs > All in the ServiceNow navigation pane.

6. Use the Scripts - Background: If you have the admin role, you can use the Scripts - Background module to debug scripts.

7. Check ACLs: Make sure that the user has the correct access rights to the incident records.

8. Clear the cache: Sometimes, clearing the browser's cache can resolve issues.

Remember to test in a sub-production instance first before making any changes in the production instance.


nowKB.com

For a good and optimistic result, and solving ServiceNow-related issues please visit this website.https://nowkb.com/home
Kindly mark correct and helpful if applicable

 

View solution in original post

2 REPLIES 2

Ahana 01
Tera Expert


Sure, here are the steps you can follow to troubleshoot this issue:

1. Open the browser's developer console: This can usually be done by right-clicking on the page and selecting "Inspect" or "Inspect Element". Then, go to the "Console" tab.

2. Reproduce the issue: Try to open an incident again and see if any errors appear in the console.

3. Check for errors: Look for any errors in the console that might be related to the issue. These could be JavaScript errors caused by a UI Policy or Client Script.

4. Disable UI Policies and Client Scripts: If you suspect a UI Policy or Client Script is causing the issue, try disabling them one by one to see if the issue persists.

5. Check the logs: You can also check the ServiceNow logs for any errors. Go to System Logs > All in the ServiceNow navigation pane.

6. Use the Scripts - Background: If you have the admin role, you can use the Scripts - Background module to debug scripts.

7. Check ACLs: Make sure that the user has the correct access rights to the incident records.

8. Clear the cache: Sometimes, clearing the browser's cache can resolve issues.

Remember to test in a sub-production instance first before making any changes in the production instance.


nowKB.com

For a good and optimistic result, and solving ServiceNow-related issues please visit this website.https://nowkb.com/home
Kindly mark correct and helpful if applicable

 

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @JR42 

 

Might be helpful

 

LearnNGrowAtul_0-1706178367562.png

https://docs.servicenow.com/bundle/vancouver-release-notes/page/release-notes/quality/vancouver-all-...

 

or log a Now Support case.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************