Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to enable audit delete for any table in ServiceNow?

mania
Tera Contributor

Hi,

 

How to enable audit delete records for any table in ServiceNow?

Can anyone please help on this, it will be helpful.

 

Thanks!

6 REPLIES 6

Ankur Bawiskar
Tera Patron
Tera Patron

@mania 

Steps

-> simply visit to Collection type Dictionary entry on your table

-> enable the Audit checkbox

-> now deletion of records will also be tracked and you can recover deleted records from Deleted Records module

AnkurBawiskar_0-1763209178801.png

 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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

@mania 

Hope you are doing good.

Did my reply answer your question?

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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

MaxMixali
Kilo Sage

I hope this can help: 

 

Enable via Dictionary (Recommended)

Step-by-Step:

  1. Navigate to: System Definition > Dictionary
  2. In the filter, enter:
    • Table: Select your table name (e.g., incident, u_custom_table)
    • Column name: Leave blank or type the table name itself
  3. Find the record where Column name matches the Table name (this is the table's base record)
  4. Open that Dictionary record
  5. Under the Controls section, find:
    • Audit: Check this box (enables insert/update audit)
    • Delete audit: Check this box (this enables delete audit)
  6. Click Update

RaghavSh
Mega Patron

go to sys_dictionary look for your table name and "type=collection",

Open the record and mark "audit" as true.

 

You may be cautious while enabling audit for any table as it may cause performance degradation.


Please mark the answer correct/helpful accordingly.


Raghav
MVP 2023
LinkedIn