The CreatorCon Call for Content is officially open! Get started here.

Ankit P
Mega Guru

Recently I came across a requirement where we needed a report which shows all the Incidents ever updated by a specific user. We needed a capability to filter those incidents by User, showing the changes which was made with date.

I achieved it using a database view using sys_audit and incident table and wanted to share it here. We can use any table we want to audit(change, problem etc). Below are the steps:

1. Create a Database view something similar to below

find_real_file.png

2. Add the required fields to both the tables.

find_real_file.pngfind_real_file.png

3. Configure a list view something like below:

find_real_file.png

Please note that the user field is a string field so you may need to enter the user ID rather selecting from references.

Comments
ChristineP
Mega Expert

What impact does this have on system performance when hitting a sys_audit table?

Ankit P
Mega Guru

Hi Christine,

This should not have any significant impact on the performance because it only pulls the records when you are viewing the reports.

Stan Martin
Kilo Guru

This report has been a tremendous help getting me started on the report I'm trying to create.  One more thing I'm trying to accomplish I am auditing the State field from a custom table extended from Task.  For the old and new values I want to display the Label instead of the Value so I think I would have to create a join between the audit table and the choice table?

Version history
Last update:
‎04-18-2018 10:47 AM
Updated by: