OBLYTECH Logo
OBLYTECH Logo

Archiving Records in ServiceNow

ServiceNow archiving records starts with an archive rule that selects older data, handles related records, and runs under an active data management policy. In Core UI, create the rule, test its conditions, review the record estimate, then activate it. Check archived records and rehearse restoration before expanding the scope.

Define the scope for ServiceNow archiving records

Archive rules can cover core tables, including Task, and custom tables. Begin with one table and an agreed reason for moving its records out of active use. Write down which records should qualify, which must remain available for current work, and who will approve the selection. These are decisions to settle before configuring the rule.

Use a different route for certain data. Archive CMDB configuration item records through CMDB Data Manager. For email, activate the Data Archiving and Email Retention plugins, then use the archive and destruction rules supplied by Email Retention rather than creating archive rules on the email table. On upgraded instances, review the rules before manually activating the plugin and its rules.

Review existing archive rules for the selected table. Overlapping rules are the risk: a rule that archives Closed Incidents after 18 months and another that archives them after 9 months can select different populations, so decide which boundary your retention decision actually uses before adding a second rule.

This workflow uses Brazil labels; check the controls on your instance and release before applying it. If record growth follows an incoming data project, review large data imports separately so that import planning and archive selection each have a clear owner.

Create and test the archive rule in Core UI

Creating an archive rule requires the admin role. Navigate to All > System Archiving > Archive Rules and select New. Alternatively, open the relevant policy through All > System Data Management > Data Management Policies and select New in its Archive Rules related list.

  1. Enter a Name that identifies the table and the selection purpose. Add a Description explaining the intended population.
  2. Select the Table. You cannot change this field on an existing rule; a different table requires a new rule. Tables in another application scope cannot be selected.
  3. Build Conditions that express the retention decision, including the relevant date and record state where appropriate.
  4. Test those conditions in a list view before activation. Inspect records near the date boundary as well as representative older records.
  5. Select Recalculate Archive Estimate and inspect Record estimate. Adjust the conditions if the population differs from what the owner expects.
  6. Select Submit after reviewing the configuration.

For a rolling age threshold, a condition such as [Closed] [relative] [before] [2] [Years] [ago] selects records closed more than two years ago from today. Translate the business requirement into the date condition deliberately: a calendar period and elapsed time do not express the same boundary.

The estimate counts primary records, excluding related records added to the rule. Treat it as a selection check rather than the total number of records affected. Ask the reviewer to explain why a record just inside the boundary qualifies and why a record just outside it remains active. That small review catches a misunderstood date requirement before the rule affects a larger population. Keep examples of both included and excluded records in your change notes so that someone reviewing the rule can assess its boundaries.

When the source population also contains suspected duplicates, use transform maps without duplicate records as a separate review path. Settle the intended record population before using its size as an archive acceptance measure.

Choose reference behavior and related record actions

The Core UI archive rule includes Retain references. This option preserves the sys_id for a reference field rather than storing its display name as a string. Once selected and saved, the checkbox becomes read only. Enabling it where archived records already exist starts reprocessing those records; progress appears in Archive Rule Reference Migrations [sys_archive_ref_migration].

Configure related records with the admin role. Open the rule, find Archive Related Records, and select New. The Action field offers three distinct outcomes:

  • Archive moves records that reference the archived record into the archive.
  • Clear removes the reference. For a many-to-many relationship, it deletes the relationship reference instead of clearing it.
  • Delete removes records that reference the archived record.

Select the relationship in Reference. Suppose the rule archives closed Problem records. Any incident still pointing at one of those problems is a related record, and the action you pick decides what happens to that incident. Judge the action against the work those incidents still support, rather than choosing the same action for every relationship.

To cascade through a related table’s archive rule, specify that rule in Reference table rule. An existing rule on the related table does not itself establish the cascade. Select Submit after reviewing the relationship and action.

This is the point to resolve uncertainty about dependent records, retrieval needs, and retention ownership. Discuss those decisions through ServiceNow implementation planning before activation. Bring the proposed conditions and relationship actions so the discussion can focus on a concrete configuration.

Activate the policy and verify the first run

Activating the archive rule requires admin. Both the rule and its corresponding data management policy must be active for the rule to run. Open the rule, optionally recalculate its estimate, and select Active. Sample archive rules are inactive by default.

Run Archive Now can start archiving immediately, but that related link is available only when the corresponding policy is activated. Otherwise, qualifying records are archived during the next archive run. Before triggering an immediate run, make sure the reviewed conditions and related record actions still match the saved configuration.

Inspect results through All > System Archiving > Archive Tables and select the archived table’s module, such as Archive Incidents. Archive table names use the ar_ prefix; archived incidents are stored in ar_incident.

For continuing operations, changing the schedule requires admin. Navigate to All > System Scheduler > Scheduled Jobs, open Archive, and modify the repeat value. The system-scheduled job runs active archive rules every 60 minutes. Review the timing as a shared scheduling decision because it governs active archive rules.

Plan restoration and destruction independently

Restoring an archived record requires admin. Navigate to All > System Archiving > Archive Log, open the archived record, and select Restore Record or Restore Record and Related Records. The record returns to its primary table and its archive table entry is removed. Check the Restored column in the Archive Log related list for the restoration time.

Do not delete archive log entries. Once an entry is gone, its archived record cannot be restored. As a change acceptance check, restore a selected example and inspect the result before treating the archive workflow as ready for wider use. If Auto Rearchive is enabled, Auto Rearchive Duration controls how long a restored record remains before automatic rearchiving.

Creating a destroy rule also requires admin. Select Create Destroy Rule on the archive rule form and configure Archive Duration deliberately. An empty duration or a value of zero causes immediate destruction. Destroy Related Records controls associated related records, but peripheral journal, attachment, and audit records are deleted automatically even when related records are preserved.

Obtain the retention owner’s decision before activating destruction. For records supporting governance work, include the people responsible for records of processing activities in that review. Document the required retrieval period and the approved destruction point separately so neither decision is inferred from the other.

Questions about archive access and retrieval

Can an archive table replace a reporting table?

Archive tables are not optimized for ad hoc queries. Their indexes cover the display value, creation date, and sys_id primary key. Prefer retrieval using those indexed fields, such as an incident number or creation date, rather than broad searches across unindexed business attributes.

Which access controls apply to archived data?

By default, an archive table uses the ACLs of its unarchived table. Setting glide.security.enable_archive_table_acls to true enables explicit archive table ACLs. Where active archive ACLs exist, they control access; a denial does not fall back to the original table’s ACLs. The evaluated operation is read.

Can any table receive an archive rule?

Not every table. A table whose dictionary entry has update_synch set to true cannot receive an archive rule, and some internal and peripheral tables are excluded, including Sys Audit, Audit Deleted Record, Audit Relationship Change, Attachment, and Journal Entry. Core tables such as Task and custom tables can receive one. Some internal and peripheral tables are also excluded, including Sys Audit, Audit Deleted Record, Audit Relationship Change, Attachment, and Journal Entry.

How does the console workflow start?

With admin, open All > System Data Management > Data Management Console. On Overview, select the table and Create rule. On Define your rule, select Archive, enter a name and description, and select Save and continue. The wizard then guides condition, destruction, relationship, and summary decisions.

Does archiving records in ServiceNow reduce storage, and how do System Archive and Live Archive differ for inactive records?

Not with System Archive. It moves inactive records into archive tables inside the same instance and does not reduce primary storage usage. Live Archive is the option that can move records and attachments off primary storage, but only with the RaptorDB Professional V2 entitlement and configuration in place. Measure your own footprint before counting on any saving.

Why System Archive does not free primary storage

System Archive is a move between tables on the same instance, not a move off the platform. A rule that moves old closed records into archive tables can shrink the active tables while primary storage usage does not fall. A capacity reduction planned from this rule can fail when it is estimated from the record count alone.

How Live Archive differs for inactive records

Live Archive changes the storage picture because it moves records and attachments to object storage. As of November 2026, it needs the RaptorDB Professional V2 entitlement and configuration, and availability and commercial treatment depend on the customer’s environment. Confirm both before you design around it. Without the entitlement, the in-instance option is System Archive, which does not reduce primary storage.

Comparing the two mechanisms

  • Where the records go: System Archive places them in archive tables on the same instance. Live Archive places records and attachments in object storage.
  • Effect on primary storage: System Archive does not reduce it. Live Archive can, for the records and attachments it moves.
  • Prerequisites: System Archive runs through archive rules on the instance. Live Archive also needs the RaptorDB Professional V2 entitlement and configuration.
  • Retrieval path: Records in object storage need their own retrieval test. Do not assume an in-instance restore covers them.

Measuring the footprint before you choose

  1. Open the Data Management Console and record the footprint for each candidate table. The console separates table data from associated attachments, audits, and journals.
  2. Note the refresh timing. As of November 2026, usage refreshes daily and can take up to 24 hours to reflect changes, so take the baseline before any rule runs and again after the first archive run.
  3. Size the records that qualify from the footprint figures rather than from the record count.
  4. Confirm the entitlement status for the instance. If Live Archive is not available, remove any plan that depends on it.

Questions to put to your ServiceNow account team

  • Does this instance hold the RaptorDB Professional V2 entitlement, and what configuration does it require?
  • Which tables and attachments would move to object storage under the planned rules?
  • Who owns retrieval and restoration for records held in object storage?

Table rotation is unsuitable for keeping incident history

Table rotation is unsuitable as a preservation strategy for incident history, and it cannot be applied to Task extensions. Plan incident retention around archive rules and an agreed retention period instead.