# 11. Archive record

### **Pre condition**

* A declaration has the status ‘In progress’, ‘In Review’ ‘Validated’ or ‘Requires Updates’
* You can not archive/revoke a registered record. This is planned for 1.4

### **Triggers**

* Declaration deemed to be invalid, duplicate or missing mandatory data that they don’t expect to ever been completed
* A user has `record.declaration-archive`

### **Standard flow**

1. User finds record
2. User clicks on the name of the record
3. User assigns themselves to the record
4. User clicks “Archive”
5. User confirms actions to archive record
6. Declaration is sent to the Outbox for processing
7. Once processed the declaration status is updated to ‘Archived’

### **Post conditions**

* Record audit updated to show that the record has been archived
* A user with `record.declaration-reinstate` can reinstate record if deemed to be a valid declaration again.

### **Variations/Exceptions**

When a record is marked as a duplicate by a user with `scope:record.review-duplicates` then the record status will be changed to 'Archived'

{% embed url="<https://youtu.be/iU9PpynkGV8>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.opencrvs.org/v1.7/product-specifications/core-functions/10.-archive-record.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
