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

purgeItem rule in HFix-2991 fails to compile

SA-25059

Summary



After installing the HFix-2991, the purge or archive process is not executed. The purgeitems function fails to compile.

Error Messages



RULE-UTILITY-FUNCTION ARCHIVEPURGE PURGEITEMS #20101005T085807.323 GMT/Pega-ProCom:05-03-25
----------
1. ERROR in file://runtime:/PRGenJava/com/pegarules/generated/pega_procom_archivepurge.java
(at line 3280)
PegaDatabase dbInf = (PegaDatabase) (tools.getDatabase());
^^^^^^^^^^^^
PegaDatabase cannot be resolved to a type
----------
2. ERROR in file://runtime:/PRGenJava/com/pegarules/generated/pega_procom_archivepurge.java
(at line 3280)
PegaDatabase dbInf = (PegaDatabase) (tools.getDatabase());
^^^^^^^^^^^^
PegaDatabase cannot be resolved to a type
----------
2 problems (2 errors)

Steps to Reproduce



Schedule purge or archive process.

Root Cause



A defect in Pegasystems’ code or rules:
com.pega.pegarules.priv.database.PegaDatabase class is not included in the function import list. As a result, the library fails to compile.

Resolution



Apply HFix-28083 and recompile the library.
Suggest Edit

Published July 2, 2016 - 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