Audit History: how to trigger to save to Related List?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2018 11:51 AM
I have turned auditing on a custom table.
There is the Audit History Related list on the custom table. It is empty.
If I do History->List on a record, it shows the Audit Records for the Custom Table Record before dumping them into the Audit History related list.
Any way to automate this on Insert/Update via Business Rule? The customer wants to see the list without having to trigger it themselves.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2018 12:44 PM
Hey tahnalos
If you want to audit the custom table, you need to enable auditing your table.
For example:
Thanks,
Rajashekhar Mushke
Rising star : 2022 - 2024
Community Leader -2018
Connect me on LinkedIn : Rajashekhar Mushke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2018 12:46 PM
Enable auditing for a table:
You can enable table auditing to track changes to all or some of the table's fields.
Before you begin
Role required: admin
Procedure
- Navigate to System Definition > Dictionary.The system displays the list of dictionary entries. The list includes a row for each table as well as a row for each column (field) in the table.
- In the list of dictionary entries, find the row corresponding to the table you want to audit, for example
cmdb_ci_computer
. You can distinguish the row for the table itself — versus a row for a column in the table — by finding the row with the correct table name, an empty entry for Column name, and a type of collection. - Select the dictionary entry for the table.The system displays the dictionary entry form.
- Check the Audit check box.
- Click Update.
Please Refer:
Let me if it doesn't works.
Thanks,
Rajashekhar Mushke
Rising star : 2022 - 2024
Community Leader -2018
Connect me on LinkedIn : Rajashekhar Mushke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2018 01:20 PM
Yes, I am aware of that. This has already been done. That's not what I'm asking though.
The issue is the following: the audit history does not show up by default. See screenshot:
But if I right click on the header and go History->List, and go back to the record, I get this:
The question is how to automate that process so that the history shows up every time.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2018 06:07 AM
Bump