How to fix/troubleshoot a missing update on sys_audit table?

Smith Johnson
Tera Guru

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".

SmithJohnson_1-1694677473344.png

Any ideas why this occurs or how can I troubleshoot it?

Smith.

 

 

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

@Smith Johnson 

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

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

asifnoor
Kilo Patron

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.