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

Case History doesn't appear for a work object

SA-43589

Summary



User has configured a section in their application and performed a section include of "pyCaseAudit" into it.

During runtime, the history of the work object doesn't appear in the Audit tab as the data page responsible for the history doesn't load with the required data.


Error Messages



Case history is not loaded for a work object.

Section 'pyCaseHistoryContent' execution error on page 'pyWorkPage' of  class 'X-X-X-X'. 

com.pega.pegarules.pub.PRRuntimeException: Error evaluating layout visible when 'pyGeolocationTrackingIsEnabled && !pzIsGoogleAPIKeyEmpty' . 


Steps to Reproduce



1. Install Pega Underwriting for Insurance (PUI) 7.22 framework on top of Pega 7.2.
2. Create an application on top of the framework layer.
3. Create a section and perform section include of "pyCaseAudit" to display the audit of a work object.
4. Now, check for the audit of the work object
.


Root Cause



Issue is because of the compatibility of UI-Kit shipped in framework layer.

Ideally the supported UI-Kit version for Pega 7.2 is UI-Kit-7:06-01-01, but the framework included UI-Kit-7:07-07-01 because of which during runtime, "pyCaseHistoryContent" is looking for a rules "pzIsGoogleAPIKeyEmpty" When rule and "pyTempReportClass" property rule which are shipped in the UI-Kit-7:07-01-01 and not present in the current version the user is on Pega 7.2.

Resolution


To resolve the reported issue, perform a local change as below:

1. Override the Work-.pyCaseHistoryContent present in UI-Kit-7:07-01-01 into the implementation layer.

2.Update the grid visibility When rule in grid repeat layout.

3.Make pyGeolocationTrackingIsEnabled and remove ‘&& !pzIsGoogleAPIKeyEmpty’].

4. Also, modify the parameters of the data page because the property "pyTempReportClass" used is not shipped with Pega 7.2.
​​​​​​​

Published February 13, 2018 - Updated October 8, 2020

Was this useful?

0% 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