Create a destroy rule

  • Release version: Washingtondc
  • Updated February 1, 2024
  • 1 minute to read
  • Create a destroy rule to delete archived records and related records after a specified amount of time.

    Before you begin

    Role required: admin

    About this task

    If you need to amend the destroy rule properties running against your archived data, see Archive rule and destroy rule properties.

    Procedure

    1. Navigate to All > System Archiving > Archive Destroy Rules.
    2. Click New.
    3. Fill out the form fields.
      Field Description
      Name Provide a descriptive name.
      Table Select the archive table that the system created when you archived records.
      Archive Improve archive performance by linking this destroy rule to an existing archive rule for the archive table that you selected.
      Description Provide a description.
      Destroy Related Records Automatically destroy related records associated with the archived records.
      Note:
      Peripheral records, which include records in the Journal Entry [sys_journal_field], Attachment [sys_attachment], and Sys Audit [sys_audit] tables are deleted automatically, even if you decide to preserve related records.
      Archive Duration Specify the amount of time that records stay in the archive table before the system deletes them.
    4. Click Submit.
    5. You can check the archive destroy log at any time