Loading...
Loading...
When opening a breakdown dashboard via URL and prefetching the desired element in the URL, the error message " You do not have access to the selected breakdown elements " is displayed and the element is not fetched. This only happens when opening breakdown dashboards via URL and the desired prefetching element is not located at the beginning range of the element list. For example, if the element list of the breakdown pre-loads the first 100 elements in the ascending order, prefetching an element from the 101st element hits the issue. Steps to Reproduce 1. On an OOB instance, activate PA Premium. 2. Run a simple script to generate 2000 incident records. For example: var intGr; for (var i = 0; i < 2000; i ++) { intGr = new GlideRecord("incident"); intGr.initialize(); intGr.setValue("short_description", "Test " + i); intGr.insert(); } 3. Create a new breakdown source with below settings: Facts table: incident Field: sys id 4. Open the OOB dashboard 'Incident Management'. Configure the dashboard and add the breakdown source in step3 to it, so that the dashboard becomes a breakdown dashboard. 5. View the dashboard and pick the first element from the breakdown filter i.e. INC0000001. Once the dashboard refreshed, copy its URL from the top-left hand side icon. 6. Paste the copied URL in step5 in a new browser window and hit <enter>. Now the dashboard should be loaded with prefetching the element of INC0000001. Examine the URL and make sure there are two URL parameters for the prefetching purpose: sysparm_element=XXXXXXXXX sysparm_element_value=XXXXXXXXX The relative URL should be similar to: /$pa_dashboard.do?sysparm_dashboard=a64b7031d7201100b96d45a3ce610335&sysparm_tab=f8bbb031d7201100b96d45a3ce610363&sysparm_cancelable=true&sysparm_editable=undefined&sysparm_active_panel=false&sysparm_breakdown_source=9e3ce41a1b21d01021fcfd131d4bcb8f&sysparm_element=91bdfb7e1be158509582fd131d4bcb2a&sysparm_element_value=91bdfb7e1be158509582fd131d4bcb2a 7. Navigate to incident.list, sort the incident number by the [z-a] order, and copy the sys_id of the last one or two incident records. The incident record should have its number in 'INC0012100' or something similar. 8. Replace the sys_id in the sysparm_element and sysparm_element_value parameters in the URL of step6 with the sys_id in step7. Test the new URL in a new browser tab. The dashboard does not load prefetched and throws the error message " You do not have access to the selected breakdown elements ".
Cautiously increase the value of the system property "com.snc.pa.scorecards.max_breakdown_elements". This may impact the instance performance. Make sure the new value does not exceed the value of "com.snc.pa.scorecards.abs_max_breakdown_elements". Ref. Performance Analytics Properties.
PRB1412458
Click on a version to see all relevant bugs
ServiceNow Integration
Learn more about where this data comes from
Bug Scrub Advisor
Streamline upgrades with automated vendor bug scrubs
BugZero Enterprise
Wish you caught this bug sooner? Get proactive today.