# 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>" %}
