Notifications

8 views

Description

The system property glide.canvas.grid.widget_performance_threshold is used to stop widgets from displaying if the loading time exceeds the threshold set. When a user without read access to the Report Stats table views a widget with the set threshold, an incorrect "recent average execution time" value is returned. This results in the widget loading automatically when it should be prevented from rendering.
When a user is denied access to the report_stats table the system can not retrieve the execution statistics for any given reporting widget, and therefore can not determine if the widget is exceeding the rendering time threshold.

Steps to Reproduce

1 - Create a widget that takes a little time to load, for example 15 seconds.
2 - Add the widget to a dashboard.
3 - Set the system property glide.canvas.grid.widget_performance_threshold to the value 10.
4 - Open the dashboard with a user that has one of the following roles: report_admin, pa_admin, pa_power_user. Observe this will pass the read ACL for reporting stats, but the widget will not load. Instead the following message will display: 'This widget will load for about 15 seconds'.
5 - Press 'Load' to display the widget as prompted.
6 - Perform the same test with a user without any of the required roles mentioned above. Observe the widget will load and take 15 seconds to display, completely ignoring the threshold value.

Workaround

This problem is targeted to be fixed in a future release. As a workaround you can edit the Read ACL for the report_stats table to give access to other roles other than 'report_admin', 'pa_admin', 'pa_power_user'.

 


Related Problem: PRB1304719

Seen In

There is no data to report.

Intended Fix Version

Madrid

Safe Harbor Statement

This "Intended Fix Version" information is meant to outline ServiceNow's general product direction and should not be relied upon in making a purchasing decision. The information provided here is for information purposes only and may not be incorporated into any contract. It is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. The development, release, and timing of any features or functionality described for our products remains at ServiceNow's sole discretion.

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2018-10-31 08:20:18
Published:2018-10-31