Is there a way to find user created dashboards that are empty (no widgets)?

Z_9
Tera Contributor

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!

6 REPLIES 6

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?

mia45
Tera Contributor

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.