With Laurence Tindall
In this article, you are going to learn how to enable table auditing in the system. Table auditing is a feature which allows you to track changes that are made to a table's fields. By default, not all tables have auditing turned on in the system; this is because it can affect and impact the performance of your system, especially for tables that receive a large amount of traffic. Once you have auditing enabled on a table, you're able to view the before and after field values within the history view of a record. Please note, encrypted fields are not audited; this feature is by design and cannot be changed.
Enabling Table Auditing
For today's example, we are going to enable auditing on the Hardware Models table, which, by default, doesn't have auditing turned on. By turning auditing on for this table, we'll be able to see the before and after changes made to any hardware model record in the system. This will be beneficial for asset managers as they'll now be able to see which users are updating Hardware Models and what changes they're making.
To get started, type in dictionary in the application navigator and click on the module located underneath the system definition application (reference video at 1:42). From this dictionary entries list view, type in cmdb_hardware_product_model in the table column header, type in collection in the type column header, and hit enter. Next, we click on the dictionary entry for the Hardware Model table.
To turn on auditing, simply check the audit checkbox and click on the update button. Now, if we head over to the Hardware Models Module, open up a record and change some of the values on the form, we’ll see the before and after values when looking at the record history (reference video at 2:29) . Enabling table auditing provides lots of value and can be implemented in a matter of minutes.
Did you find this How to Enable Table Auditing in ServiceNow article helpful? Are you ready to start your journey with ServiceNow? If you want to find out more information about GlideFast Consulting and our ServiceNow implementation services, you can reach out to us here.
About GlideFast Consulting
GlideFast is a ServiceNow Elite Partner and professional services firm that provides tailored solutions and professional services for ServiceNow implementations, integrations, managed support services, application development, and training. Reach out to our team here.