Let's look at some examples of how assigned journeys are evaluated for archive and
purge during the daily run of the Archive and Purge Journey Data process.
Example 1
Archive a completed journey with 5 months as archive duration. The date of the
process run is 28-Sep-2023. The process evaluates the eligibility by considering 5
months prior to the date of the process run, which is Apr-2023. The evaluation date
for archive is 1-Apr-2023. Since this date is after the completion date of
10-Mar-2023, the journey is archived.
Allocated Journey ID |
Archive Duration |
Purge Duration |
Completion Date |
Date of Evaluation for Archive |
Outcome |
A1 |
5 |
12 |
10-Mar-2023 |
01-Apr-2023 |
Will be archived |
Example 2
Archive a completed journey with 12 months as archive duration. The date of the
process run is 28-Sep-2023. The process evaluates the eligibility by considering 12
months prior to the process run, which is 28-Sep-2022. The evaluation date for
archive is 1-Sep-2022. Since this date is before the completion date, the journey
won’t be eligible for archive.
Allocated Journey ID |
Archive Duration |
Purge Duration |
Completion Date |
Date of Evaluation for Archive |
Outcome |
A2 |
12 |
12 |
28-Sep-2022 |
1-Sep-2022 |
Won't be archived |
In these examples, let’s see how archived assigned journeys are evaluated for
purge.
Example 3
Purge a completed journey with 12 months purge duration. The date of the process run
is 28-Sep-2023. The process evaluates the eligibility by considering 12 months prior
to the process run, which is 28-Sep-2022. The archive date is 1-Jan-2022 and the
evaluation date for purge is 1-Sep-2022. Since this date is after the archive date,
the journey is eligible for purge.
Allocated Journey ID |
Archive Duration |
Purge Duration |
Archive Date |
Date of Evaluation for Purge |
Outcome |
A1 |
5 |
12 |
01-Jan-2022 |
01-Sep-2022 |
Will be purged |
Example 4
Purge a completed journey with 12 months purge duration. The date of the process run
is 28-Sep-2023. The process evaluates the eligibility by considering 12 months prior
to the process run, which is 28-Sep-2022. The date of evaluation for purge is
1-Sep-2022 and since this date is ahead of the archive date of 28-Sep-2022, it
doesn’t meet eligibility and won’t be purged.
Allocated Journey ID |
Archive Duration |
Purge Duration |
Archive Date |
Date of Evaluation for Purge |
Outcome |
A2 |
12 |
12 |
28-Sep-2022 |
01-Sep-2022 |
Won't be purged |