How to fix/troubleshoot a missing update on sys_audit table?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2023 12:46 AM
Hello all,
I would like to understand why in the sys_audit table for a specific record of the csm_consumer, I can not find the update count "3". As shown below, there is an update count "2" and then it goes to "4".
Any ideas why this occurs or how can I troubleshoot it?
Smith.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2023 01:01 AM
Is this happening for most of the records?
Possibly the update on record happened via script using setWorkflow(false) and hence it didn't get audited
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2023 01:53 AM
Hello Smith,
If an record is updated using autoSysFields(true), then the system fields will not be updated because of which the system will not capture it in the audit table.