Question
Nordea
SE
Last activity: 6 Aug 2020 5:25 EDT
Archive & Purge Wizard does not delete Attachment Records
Hi,
We are using Pega 8.4.1 (upgraded from 7.2.2) & we are planning to use OOTB Archiving/Purging Pega feature to maintain system performance by reducing database processing demands.
After scheduling the process, it appears the feature only archives & purge work object & history table records, however, the related records in the attachment tables (pc_data_workattach & pc_link_attachement) still persists in the table.
As per the link below, I was under the impression that the wizard takes care of all related records and archives in the form of a zip file.
https://collaborate.pega.com/question/dose-purgearchive-tools-purge-all-related-recodes
while importing the zip file back into the system, I can only see work object and history records. There is no record for attachments.
Am I doing something wrong or I should raise Incident for that?
Hi,
We have found out the root cause here. OOTB Archive & purge wizard can't take care of attachments which are added through gadget(using '+' icon in Recent Content section in the right panel) as it creates an instance of PegaSocial-Document which is different work pool.
If we use basic 'Attach Content' control in our section to attach the file then attachments are part of the archived file. I think Pega should clearly specify this in their help document to avoid confusion in future.