UI Script works in Dev but not executing in Prod
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2025 06:46 PM - edited 02-15-2025 06:48 PM
The script below works in Dev but for some reason is not executing when I moved it to Production. What am I missing?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2025 07:26 PM
Go to Service Portal -> Portal in left navigation menu
Select the portal with URL suffix "sp"
Open theme record of the Portal and look for JS includes related list. Compare with your DEV or UAT, if any scripts are missing there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2025 09:28 PM
Did it work fine in UAT when you migrated from DEV?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2025 04:10 AM - edited 02-16-2025 04:11 AM
Hi Ankur,
It worked during our live testing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2025 06:50 AM
then it should work ideally.
Unless you replicate in lower instances you can't debug and identify the root cause
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2025 07:08 AM
Thanks Ankur for your response.
I have opened a case with ServiceNow.