Doucment_ID is not displaying value
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2026 05:22 AM
Hi,
I want to update the 'Applies to record' field so it corresponds the Department.
As you can see the Department has a name but Applies To Records = empty.
When looking at XML, however these 2 fields have same sysID, so they should point to that specific Department Name.
Im using a script where I populate both fields with sysID but it only works for the department field.
How to proceed with this document_id type field so it shows the name of the record?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2026 05:46 AM
what's your business requirement?
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2026 05:53 AM
I need to populate this field so it corresponds the Department field.
For the context: In our environment we have loaded the entities and refers to existing record & applies to were not populated. So currently I am fixing by populating these fields.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2026 05:56 AM
how are you updating that?
share script
Applies to is Document ID field type?
For setting Document ID you need to set table name along with Record SysId
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2026 06:50 AM
Basically, first I retrieve the sysId I need and then update these fields:
