Dynamic related record tables
Summarize
Summary of Dynamic Related Record Tables
The dynamic related records feature in ServiceNow utilizes various tables to manage context and definition information for related records. This enables users to configure and retrieve relevant records based on specific criteria from the Related Records tab. Key tables involved include the Related Record Context, Related Record Definition, and Context Related Record Definition tables, all of which extend from the sysmetadata table.
Show less
Key Features
- Related Record Context Table: Stores context records that define when and how related records are displayed. Key fields include:
- Name: Unique identifier for the context record.
- Applies to table: Specifies the source record table (e.g., customer service cases).
- Primary and Secondary reference fields: Used for evaluation in the scripted query.
- Conditions: Additional criteria for executing related record definitions.
- Related Record Definition Table: Defines specific data types to be retrieved (e.g., active contracts, SLAs). Important fields include:
- Display label: Name shown in the Related Records tab filter.
- Primary and Secondary reference tables: Specify data sources for the definition script.
- Script: Custom script to determine which records are fetched based on context.
- Context Related Record Definition Table: Connects context records with their corresponding definition records. Key fields include:
- Related record context: Links to the context record.
- Order: Determines the filtering order in the Related Records tab.
Key Outcomes
By effectively using dynamic related records, ServiceNow customers can enhance data retrieval processes, streamline workflows, and improve user experience in the Related Records tab. This feature allows for tailored visibility of relevant records, ensuring that users can access the information they need efficiently and accurately.
The dynamic related records feature uses different tables to store context and definition information.