Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Archive/Purge Wizard - Requests purged but not archived in Prod

SA-28265

Summary



The user scheduled Purge/Archival wizard processes to archive requests from their production database and observed that certain number of requests got purged but not archived for 2 set of processes.

In logs the below exception is found and the same can be seen in interval statistics also -
2016-09-11 00:43:53,690 [.PRPCWorkManager : 5] (rated.pega_procom_archivepurge) ERROR - ExportZipFile: Encountered the following error: Unable to create a new archive!


Error Messages



2016-09-11 00:43:53,690 [.PRPCWorkManager : 5] (rated.pega_procom_archivepurge) ERROR - ExportZipFile: Encountered the following error: Unable to create a new archive!

Steps to Reproduce

  1. Designer Studio -> System -> Tools -> Purge/Archive wizard -> Configure Process
  2. Follow subsequent steps to create a process that archives a specific type of request from live database.
  3. At the end, Schedule the same process to execute daily.
  4. Obseve requests got purged but not archived.
  5. Error encountered and an exception can be seen in both logs and interval statistics.

Root Cause



A defect in Pegasystems’ in the retun logic of the "exportItems" RUF. The RUF initializes a boolean "bIncomplete" flag as "false" but exisiting logic fails to set the value to "true" inside the catch(Exception) block. That means even if a java.io.IOException is raised from the call to "PRRuleMgmtUtilsImpl.createExport()" method, the "bIncomplete" flag is not being set to "true". This causes the process flow to continue purging the dataset.

Resolution



Apply HFIX-29513.

Published October 7, 2016 - Updated October 8, 2020

Was this useful?

100% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us