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

Purging interval statistics incorrect

SA-44692

Summary



User has scheduled an automated purge using the purging wizard. To test the failure scenario, user is explicitly holding the lock to a work object.

The error description is shown under
pyWorkPage.pyIntervalStatistics.pyErrors
, but pyItemsFailed count is empty.

That is, user is seeing an error in pyErrors, but it is not reflected in the failed count in the clipboard.



Error Messages



Not Applicable

Steps to Reproduce



1. Include an automated and scheduled purge.
2. Force a failure by holding lock on a work object.
3. In the clipboard under pyWorkPage.pyIntervalStatistics.pyErrors the error is present, in the page pyWorkPage.pyIntervalStatistics the pyItemsFailed property value is showing as 0 instead of 1.


Root Cause



Not Applicable

Resolution



Here’s the explanation for the reported behavior:

Before starting purge archive process, validation happens for finalizing the selected work items like
  • Whether Cover items is null or not.
  • Processing of child(covered) items are meeting the criteria or not as per the configuration.
  • Both cover and covered items are exceeding the commit interval or not and so on.

In the above validation, one can count the number items which are failed to meet the criteria out of selected items and captures the count in pyItemsFailed property.

Once items are finalized for purge archive process, if any issue come while export or purging, it throws the error directly.

This is not related to the failed count.

pyItemFailed are related to pre-purge process and pyErros are related to actual purge /archive process.

Both are different, so if there are any failed items, it will not show any description in the pyErrors field.
Suggest Edit

Published March 22, 2018 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

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

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