How to show the last 90 days of incidents in the Recent Incidents link (User Widget)? Question:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
6 hours ago
The requirement is to display incidents from the last 90 days in the Recent Incidents link within the Record Information contextual side panel of the User widget.
Currently, the OOTB (Out of the Box) configuration shows incidents from the last 7 days.
Is there a way to modify this to show incidents from the last 90 days instead?
If yes, could you please provide the steps or configuration details to achieve this?
Thanks in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
6 hours ago
Hi ROSHINIB,
Long story short - yes, you can change the range from 7 to 90 days. I'll try to explain how to do it below:
The "Recent Incidents" link in the widget is driven by a data resource or filter condition that currently limits records to incidents opened in the last 7 days.
To update it:
Open the workspace in UI Builder.
Locate the User Widget - open its Data Resource
Edit the filter condition from
opened_at>=javascript:gs.daysAgoStart(7)
to
opened_at>=javascript:gs.daysAgoStart(90)
Save and publish your changes.
After that, the "Recent Incidents" link will display incidents from the last 90 days.
If my answer helps you somehow, please mark it as helpful.
Best regards,
Renat Akhmedov
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
6 hours ago
please share some screenshots.
try approach shared by @Renat Akhmedov
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
