Archive and Purge Journey Data Process - How to archive only expired tasks?
Summary:
Our purpose is to archive only expired journeys, without archiving active journeys containing expired tasks and mandatory tasks
Content (please ensure you mask any confidential information):
When we perform the scheduled process of Archive and Purge Journey Data we manage to mass archive expired journeys and tasks; but we noticed that some active journeys, containing a sequence of tasks, get archived as well.
In these sequences of tasks, there are completed "initial" tasks, followed by an expired task and then mandatory tasks (something like completed task → completed task → expired task → mandatory task → mandatory task), which shouldn't be archived. We think that the expired task in the journey "triggers" the archiving process, but how can we prevent the archiving of the whole journey to happen?