Handle large amount of data in script include and while calling that script include from a report
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2023 06:47 AM - edited 05-16-2023 07:51 AM
Hi,
I am querying a table (Audit table), the table has also 6 lac records and I am trying to get the user list who is not having an update for the last 6 months. So I was doing a script include, script includes code is working fine. and calling that from the report.
But as it contains too many rows the report is not loading.
Is there any way to handle this like by pagination or any other way?
Has anyone implemented anything like this?
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2023 06:51 AM
definitely it will have an impact as you are querying system table (Audit table). It's not recommended practice.
Discuss with customer and inform them about the platform limitations.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2023 07:12 AM
Thank you, Is there any other way we can implement to see the list of users who is basically not updating anything for the last few months?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2023 07:31 AM
you can do this
1) have a field of type glidelist referring to user table and update it everytime with the user who is updating the record
2) then you can use this field for your reporting
but even that won't be simple.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader