Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
Impact of Extended Tables and Business Rules on Performance Analytics Data Collection - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • Impact of Extended Tables and Business Rules on Performance Analytics Data Collection
KB0551382

Impact of Extended Tables and Business Rules on Performance Analytics Data Collection


4079 Views Last updated : Apr 7, 2024 public Copy Permalink
KB Summary by Now Assist

Issue

Impact of extended tables and business rules on Performance Analytics data collection 

 

Overview
When viewing a Performance Analytics scorecard or dashboard, the number of records included in the score may be different from the number of records on the Records tab. The difference is most visible when using Count as the Aggregate. The difference can be caused by extended tables and business rules.

 

Extended tables
A table may extend another table to inherit fields from the parent table. When a record is created on the child table, a corresponding record is created with the same sys_id value on the parent table. For more information and a list of default child tables, see Tables and Classes in the product documentation.

  

Impact of before query business rules

Some before query business rules may limit access to certain tables, such as by filtering the records a user can view. For example, if you extend the Incident table, you can filter the list of Incidents to show only the parent Incident table by adding the condition sys_class_name = 'incident' in a before query business rule.

Data collection for Performance Analytics is designed for high performance and accesses data without running business rules. When collecting scores from a table like Incident in the above example, the business rule filtering the list of records does not run. Records from the base Incident table as well as any child tables are counted.

 

Viewing queries
In the data collection log (Performance Analytics > Job Logs) you can view the query being sent to the database. When querying an extended table, the log entry appears similar to sys_class_name in (‘[EXTENSION_TABLE]’,’[BASE_TABLE]’) where the EXTENSION_TABLE and BASE_TABLE are queried to retrieve the indicator score.

 

Creating consistent queries


To create a data collection query that is consistent with what users experience when viewing records through a list or report, add a condition to the indicator source that filters based on the sys_class_name of the table you are querying. In the incident example, you can add the condition [Task type][is][Incident] to collect only data from the Incident table and not any child tables.


The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.