Does anyone have any familiarity with what the new Workunit - Enable Archiving feature does? It's a new feature added in the July 2026 CU. Does it archive all existing workunit data, or is it just an extension of moving work units to history? Additionally, because it's a business task I can't see any of the underlying logic / source code of what it actually does.
So in preparation for Maintenance Requests all being enabled in 2026.10 (see "Maintenance Requests" toggle and KB3655353) we added the capability to Archive both ActionRequests as well as Process Flow workunits with user actions (vs. system flows) in 2026.07 for those customers that wanted those data for auditing/compliance reasons longer than the maintenance request schedule would allow. For example, the maintenance request pruning Pfi data allows for up to -999 days as an offset. If >999 days was required for some reason the data could be retained and leveraged from Archive. This also allows for say keeping only 365 days (or 90d) in live data and the rest in archive, if it's just for reporting/audit needs.
If you've enabled the "Data Archiving" toggle (KB3634994) then you aren't required to also enable archiving via Process Server Administration. The Data Archiving toggle serves as a master switch that enables archiving for the application as a whole, including ProcessFlow.
The specific "Enable Archiving" action in Process Server Administration will only turn archiving on for just the set of Pfi* business classes that are archivable but not the application as a whole.
This Pfi archiving is not an extension of moving workunits to history, rather, it's actually moving data to archive tables for the Pfi BusinessClasses listed in documentation: PfiWorkunit, PfiActivity, PfiMetrics, PfiMetricsSummary, PfiWorkunitFolder, PfiWorkunitInputData, PfiWorkunitVariable, PfiQueue, PfiQueueAssignment.
I believe it is part of Landmark's (relatively new) suite of archiving functions that moves data from the main database to an archive database so that it isn't queried normally in the hot path but you can enable (via configurable features) access to "Archive Mode" to look at older data (more slowly) when the need arises.
Thanks Michael. I think you're right, though it's interesting that this Workunit Archiving wasn't introduced as a feature toggle like the FSM data archiving. The FSM Data Archiving says records are moved to archive tables when data is purged, but there is no Purge action on the PfiWorkunit business class, so maybe workunits are moved to Archive tables when they're deleted? I guess I'll have to do some testing, though it would be nice if it was documented somewhere :)
Thanks for the clarification!
Maintenance requests for workunits are:
PfiWorkunit.ScheduleNonUAWorkUnitDeletion and PfiWorkunit.ScheduleWorkUnitDeletion. See KB3655353 xls attachment for all details.