Function queryAlertDashboards