Configure related record definitions
Related record definitions identify the types of records that the dynamic related records feature can display in the Related Records tab.
Before you begin
Role required: admin
About this task
The system administrator can create relate definitions and associate the desired definitions with a related record context. For example, the admin can associate SLA and escalation definitions with the Case related record context. Definitions can be associated with multiple contexts.
The Dynamic Related Records for Configurable Workspace plugin includes several related record definitions for case records. For more information, see Related record definitions included with the plugin.
Procedure
- Navigate to All > Dynamic Related Record > Related Record Definitions.
- Click New.
-
Enter a name for the definition in the Display label
field.
This label appears in the filter dropdown list in the Related Records tab. Agents click the filter icon and select the type of related record to view in the Related Records list.
- In the Queries from field, select the table that stores the related record data to be retrieved.
-
Select a table in the Primary reference table
field.
The primary table used in the definition script. At runtime, the script expects to get passed a record of this type. If you entered a data type in the Primary reference field in the related record context, enter the table for that data type.
- Optional:
If desired, select a table in the Secondary reference
table field.
The secondary table used in the definition script. At runtime, the script expects to get passed a record of this type. If you entered a data type in the Secondary reference field in the related record context, enter the table for that data type.
-
Use the Script field to define which records are
retrieved based on the context.
At runtime, the script evaluates the current record's context, along with any selected conditions, and dynamically displays the related records.
- Click Submit.