location field on incident form error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2025 03:13 AM
this is already existing functionality where onchange of caller location field population. But here the problem is even after auto populate the location field on incident when user tries to update another location or same location manually it is throwing error which is right below the location field. what could be the reason?
error: "invalid reference"
2nd error: "match not found reset to original"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2025 03:29 AM
please share screenshot and the script you are using.
Is that an OOTB script or custom one?
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
07-04-2025 03:43 AM
Hi @sinu2
Please check the dictionary of "Location" field. you may find some value in Dependent Field which is preventing the manual selection of Location.
You can remove the dependent and try updating location
Please mark correct if it is working for you.
Thanks,
GP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2025 03:52 AM
@sinu2
Check the particular Location record whether the Company has all the data populated correctly.
/* If my response wasn’t a total disaster ↙️ ⭐ drop a Kudos or Accept as Solution ✅ ↘️ Cheers! */
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2025 03:55 AM
Hi @sinu2 ,
Check the dictionary of location field, see if there is any dependent field.
Regards,
Mohammad Danish