Auditing and versioning

Some tables, such as the Task table, are audited. Every time a record is updated, the platform records what was changed, when it was changed, and who changed it by recording an entry in the Audit [sys_audit] table. Every entry in the Audit table represents a change to a field. This is tremendously helpful when you diagnose issues since you can clearly see how a record was manipulated over time.

Turning on auditing

To make the platform audit a table, go into the Dictionary entry of the table and check the Audit flag. I almost always enable it on the User table since it is very useful to see how the records are changing over time. Note that you need to enable it for every extension, so turn it on for the Guest table too!

Let's ...

Get Mastering ServiceNow - Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.