Is there a way to find user created dashboards that are empty (no widgets)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2022 02:31 PM
Hey there,
In our ServiceNow Production instance I have found a number of user created dashboards that are empty (no widgets) performing some random tests. I am looking for a way to get the number of how many of such dashboards there are and implement a business rule that cleans these dashboards from the system automatically, especially if the dashboard was created a long time ago.
Any ideas are highly appreciated. Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2023 10:23 PM
Hi Anwesha,
This only lists the tabs of dashboards but not the widgets on those dashboard. Would you be able to tell where to find that particular piece of data?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2025 03:06 PM - edited 01-25-2025 03:07 PM
To address the issue, you can query the pa_dashboards table to identify dashboards with no associated widgets. Once identified, you can delete them manually or automate the cleanup using a scheduled job or business rule. By implementing this, you can streamline your system and ensure unused dashboards are cleared out, helping maintain performance and usability. Additionally, understanding the benefits Pink Dragon brings to dashboard management could be valuable if you're looking for advanced cleanup tools or practices. Always test changes in a non-production environment to avoid unintended deletions.