-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: ADDONS_7.10, ADDONS_9.10
-
Component/s: Retention
-
Epic Link:
The central logic of the system, for now, we will assume that we have a unique rule:
- match: any Record
- duration before cutoff: 0
- cutoff duration: nb_of_days_based_on_a_property or 30 day
- cutoff_action: operation_id_based_on_a_property or null
- disposal_action: operation_id_based_on_a_property or Document.Delete
operation ids are aimed to disapeared after we implement the real rules system.
For a state unmanaged without dates:
- Calculate and sets dates
For a state unmanaged with dates:
- if cutoff_at date is reached: execute cutoff action + change state
For a state cutoff, with :
- if disposal_at date is reached: execute disposal action + change state
For a state disposal:
- don't do anything