---
sourceDocument: Brazil ServiceNow AI Platform Capabilities
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/servicenow-platform

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil ServiceNow AI Platform Capabilities

ft:clusterId :

    - platcap

bundleId :

    - platcap

workflow :

    - Platform


---

# Archive table schemas

# Archive table schemas {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of Archive Table Schemas

Archive tables in ServiceNow use thearprefix and store historical data from live tables with structural differences optimized for archiving.
Integer and reference fields in live tables convert to VARCHAR display values in archive tables, while dates remain unchanged and journal fields are serialized.
Understanding these schema differences is critical for querying archived data accurately and maintaining data integrity across archived and live records.
Show full answer Show less  

## Key Features

* **Incident Table (incident vs. arincident):**
  * Fields like `sysid`, `number`, `resolvedat`, and `closedat` remain consistent in type and value.
  * Choice and reference fields (e.g., `state`, `priority`, `assignedto`, `assignmentgroup`) convert from codes or sysids to human-readable VARCHAR display values.
  * Journal fields such as `worknotes` and `comments`, which are stored as child records in live tables, are serialized and stored directly in the archive table row.
* **Problem Table (problem vs. arproblem):**
  * Similar conversion of choice and reference fields to display values.
  * Large text fields (`causenotes`, `fixnotes`, `workaround`) and boolean fields are preserved in their original form or converted appropriately.
  * Relationships like `relatedincidents` are not archived, severing direct linkage in archive data.
  * Incident-to-problem relationships exist in live tables but require joining archive tables by `problemid` and `sysid` within the same archive window for historical queries.

## Practical Guidance for Customers

* Always **inspect archive table schemas** before querying to understand column types and naming conventions. This can be done via the `sysdictionary` table or by querying `informationschema.columns` for the archive table.
* Expect that reference fields in archives show display names, not sysids, affecting how joins and filters are constructed in queries.
* Journal fields are stored as serialized text in the archive row, so querying historical notes requires handling serialized data rather than child table joins.
* Relationships present in live tables may not be preserved in archives; plan queries accordingly, especially when historical relational data is needed.

## Benefits

Understanding these schema differences enables ServiceNow customers to write effective and accurate historical data queries, ensuring reliable reporting and data analysis on archived records. It also helps maintain data integrity and supports compliance and audit requirements by preserving critical field information in an accessible format.  
Archive tables use the ar_ prefix. Integer and reference fields become VARCHAR display values, dates are preserved, and journal fields are serialized.

## incident and ar_incident {#archive-table-schemas__section-incident}

The `incident` table is typically one of the widest and most frequently archived tables on a ServiceNow instance. The following table shows how key fields differ between the live and archive tables.
{#archive-table-schemas__table-incident-schema__entry__3}

| Field | `incident` (live) | `ar_incident` (archive) |
|-|-|-|
| `sys_id` | VARCHAR(32). Unique record identifier. | VARCHAR(32). Preserved on archive. |
| `number` | VARCHAR(40). For example, `INC0012345`. | VARCHAR(40). Same. |
| `state` | INTEGER. Choice list code. For example, `6` = Resolved. | VARCHAR. Display label. For example, `Resolved`. |
| `priority` | INTEGER. 1 (Critical) through 5 (Planning). | VARCHAR. Display label. For example, `1 - Critical`. |
| `assigned_to` | VARCHAR(32). `sys_id` of `sys_user` record. | VARCHAR. Display name. For example, `John Baker`. |
| `assignment_group` | VARCHAR(32). `sys_id` of `sys_user_group` record. | VARCHAR. Group name. For example, `Service Desk`. |
| `category` | VARCHAR. Choice field value. For example, `network`. | VARCHAR. Display label. For example, `Network`. |
| `cmdb_ci` | VARCHAR(32). `sys_id` of `cmdb_ci` record. | VARCHAR. CI name. For example, `PROD-ROUTER-01`. |
| `opened_by` | VARCHAR(32). `sys_id` of `sys_user` record. | VARCHAR. Display name. |
| `work_notes` | Not stored on the incident table. Stored as child records in `sys_journal_field`. | Serialized text stored directly in the archive row |
| `comments` | Not stored on the incident table --- stored as child records in `sys_journal_field` | Serialized text stored directly in the archive row |
| `resolved_at` | DATETIME | DATETIME. Same. |
| `closed_at` | DATETIME | DATETIME. Same. |
| `resolve_time` | INTEGER. Minutes to resolve. | INTEGER. Same. |
[Table 1. Incident table schema comparison]

{#archive-table-schemas__table-incident-schema}

## problem and ar_problem {#archive-table-schemas__section-problem}

If a problem archive rule has run on the instance, the resulting archive table `ar_problem` follows the same structural conventions as `ar_incident`. The following table focuses on fields where the
difference is most consequential for queries.
{#archive-table-schemas__table-problem-schema__entry__3}

| Field | `problem` (live) | `ar_problem` (archive) |
|-|-|-|
| `state` | INTEGER. Choice code. For example, `4` = Resolved. | VARCHAR. Display label. For example, `Resolved`. |
| `priority` | INTEGER. 1 through 4. | VARCHAR. Display label. For example, `2 - High`. |
| `assigned_to` | VARCHAR(32). `sys_id` reference. | VARCHAR. Display name. |
| `assignment_group` | VARCHAR(32). `sys_id` reference. | VARCHAR. Group name. |
| `cause_notes` | CLOB. Stored on the problem record. | CLOB. Preserved in archive row. |
| `fix_notes` | CLOB --- stored on the problem record | CLOB --- preserved in archive row |
| `known_error` | BOOLEAN. True or false. | VARCHAR. `true` or `false`. |
| `related_incidents` | Relationship. Not stored as a column on the problem record. | Not present in archive. Relationship data is not preserved. |
| `workaround` | CLOB --- stored on the problem record | CLOB --- preserved in archive row |
| `opened_at` | DATETIME | DATETIME --- same |
| `resolved_at` | DATETIME | DATETIME --- same |
| `closed_at` | DATETIME | DATETIME --- same |
[Table 2. Problem table schema comparison]

{#archive-table-schemas__table-problem-schema}  
Note:  
The `related_incidents` relationship is not preserved in the archive. Incident-to-problem relationships are maintained through the `problem_id` field on the incident record in the live table. In the archive this link is severed. If incident-to-problem linkage is required in a historical query, join `ar_incident.problem_id` to `ar_problem.sys_id` while both records are within the same archiving window.

## Verify archive table structure {#archive-table-schemas__section-verify-structure}

Inspect the structure of any archive table before writing queries. Navigate to `sys_dictionary.list`, filter by Name equal to the archive table name such as `ar_incident`, and
review the column definitions.

Through Live Connect, the following query returns all column names and types visible to the current service account for a specific archive table.

    SELECT column_name, data_type
    FROM information_schema.columns
    WHERE table_name = 'ar_incident'
    ORDER BY ordinal_position;


