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

Recent work gadget in work object does not render correctly



A Recent work gadget in a work object does not render correctly.

Error Messages

Problem invoking function: pega_processengine_workutilities.pzHasAccessToWorkPool--(String), Undefined class "undefined"

Steps to Reproduce

Click the case from the Recent list.

Root Cause

An issue in the custom application code or rules.


Perform the following local-change: 
  1. Replace the 'Recent work gadget' with the pyRecents section. 
  2. In the pyRecentsWorkContent section, configure the pyRecordID with 'Close work by handle', 'Run script', and 'Refresh other section' actions.
  3. In the 'Run Script' action, invoke the 'RefreshRecents' custom function. Add the 'RefreshRecents' function in UserWorkForm and in 'the RefreshRecents' function add the below code.

     function RefreshRecents(){

    4. Add the below  CSS in the UserWorkForm for the Recent section appearance changes.

     div[node_name='pyRecentWorkContent'] .layout-body.clearfix {
           padding: 0px;
        padding-top: 2px;
        padding-left: 5px;
        bottom: 0px !important;
        max-height: 30px !important;   

Published December 27, 2018 - Updated December 2, 2021

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