logo

NJP

How to create a report that shows only the latest record created in a table in ServiceNow

Import · Aug 23, 2022 · article

Hola Community,

In this video, we will create a report to show only the latest record which was recently created on a particular table.

We will be using the following logic in this:

  1. Create a new Script Include with a function in it.
  2. In the function, run a GlideRecord on the target table with query and fetch only one record and display it.
  3. Call the Script Include function in the Report.

Please mark this article as Helpful/Correct Answer if it helped you.

Cheers,

Hardit Singh

Please connect with me on:

YouTube

LinkedIn

Labels:

image

View original source

https://www.servicenow.com/community/platform-analytics-articles/how-to-create-a-report-that-shows-only-the-latest-record-created/ta-p/2301341