Adding Tags to an Issues Does Not Update sys_updated_on
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2024 04:03 PM
I am working on an app that incrementally pulls data from the ServiceNow API. Specifically, I am calling the following endpoint: /now/table/incident (https://docs.servicenow.com/bundle/washingtondc-api-reference/page/integrate/inbound-rest/concept/c_...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2024 06:35 PM - edited 02-22-2024 04:33 AM
Hi @Max Gong ,
Tags are stored in table [ label ] and not updating the record, if you check the task/incident table, you will not find the tag column listed there.
You have to think some other alternate for this.
-Thanks,
AshishKM
Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2024 07:55 AM
Hey AshishKM! Thank you for your response.
I might be confused, I do see the sys_tags column listed both in the docs as well as in the schema map.
I suppose this is a reference field, but it still seems to exist as a column on the incident object! Maybe I am still misunderstanding.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2024 10:05 AM
I agree with you, after reading your query, I tried to learn more on Tags configuration and it's type but tables are not showing this Tags column.
Created/Tested some tags at my end and main record not updated.
Deleted the created tag and found that tag is still showing active = true.
Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2024 07:10 PM - edited 02-21-2024 07:11 PM
Hi @Max Gong
Its an expected behavior, changing tags doesn't update the records.
Why do you want to explicitly update the record, do you have some any logic that you want to implement, and need the form to be updated, you can use setForceUpdate(), it will update no actual fields on the form, except:
sys_mod_count
sys_updated_by
sys_updated_on
For better understanding,refer to SN docs:
Aman Kumar