Track the Work-notes on change request table in Report

Service Manager
Kilo Guru

Need Help in Report

We would like to track / audit every comment added in the work-notes of a change request  on change table in a Report.

Thanks

1 ACCEPTED SOLUTION

I'll re-iterate everything you need to do for completeness.

To add the work notes field to your Database View, you have to add the field to the View Table.

  1. Navigate to your Database View
  2. Open the 'sys_journal_field' View Table
  3. Add a View Field 'value' and/or any fields you wish to see
  4. Navigate back to your Database View and select 'Try it'
  5. If the field is not showing, personalise the list. The field should be selectable.

To allow normal users to report on the table

  1. As admin, elevate your Security privileges.
  2. Navigate to ACL in the Application Menu
  3. Create a new ACL for 'report_on' for your Database Table
  4. Ensure the applicable roles are added to the ACL

If you are still having issues, can you let me know what specifically isn't working?

Thanks


ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022

View solution in original post

8 REPLIES 8

Patrick Fedigan
Giga Guru

Hello,

You most certainly can track work-notes! The table to view is the sys_journal_field table.

Type sys_journal_field.list in the navigator to quickly view.

Cheers,

The SN Nerd
Giga Sage
Giga Sage

Work notes are only valuable in the context of an individual record.
May I ask what the business reason for this would be?

The database table (Journal Entry [sys_journal_field]) stores Journal Entries is not reportable OOTB.
You would need to create a 'report_on' ACL for that table.

Once enabled, you could filter as follows in a report

find_real_file.png


ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022

The business would like to track every comment added in the worknotes of Change request on report.

However, I created a database view on change request and Journal entry and When I saw the report, it could see only date and user name under worknotes column but our motive is to view comments too

 

Thanks

You need to add the Value field on the DB View entry for Journal Field.

By default, DB Views won't be reportable for non-admin so you will need to add the report_on ACL.


ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022