Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Create a record hierarchy

Build a record hierarchy between records in the same table.

Before you begin

Role required: admin

Procedure

  1. Navigate to All > System Definition > Record Hierarchy.

  2. Select New.

  3. On the form, fill in the fields.

    FieldDescription
    LabelLabel used for displaying the record hierarchy.
    NameInternal name for the record hierarchy.
    TableThe table with records that you want organize into a hierarchy.
    Reference FieldThe self-reference field that defines parent-child relationships between records in the selected table.
  4. Select Submit.

Result

A record hierarchy based on the specified reference field is created. The ServiceNow AI Platform automatically builds the hierarchy paths that define the relationships between records in the hierarchy.

What to do next

Build queries in condition builder using the [is in hierarchy] or [is in hierarchy (dynamic)] operators. See Operators available for filters and queries.