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 populates as 'Undefined undefined' post udpate

SA-66832

Summary



Post Pega 7.4 update, the Pega out-of-the-box 'Recent Work' functionality populates incorrectly as 'Undefined undefined' instead of the Case ID and Description. This occurs when using the out-of-the-box Recent Work section of the baseclass with the RecentWorkGadget control.


Error Messages



Not Applicable


Steps to Reproduce

  1. Update Pega 7.1.7 to Pega 7.3.1.
  2. Add the RecentWorkGadget in the left panel.
  3. Open any case from the portal. The work item ID and Description are displayed as undefined.


Root Cause



RecentWorkGadget is a  deprecated control.


Resolution



Use the Recent List Gadget or the pyRecents section instead of the RecentWorkGadget.



Perform the following steps to view the refreshed items after configuring the Recent List Gadget:
  1. In the pyRecents section for the table grid, modify the data page to Declare_pxRecents.
  2. Pass the True value to the Work parameter and False value to the Rule parameter.
  3. Add below script In the UserWorkForm.

    <script> 
    $(document).ready(function(){       
      parent.pega.u.d.refreshSection("pyRecents","","");      
          }); 

     </script>

For more information, refer to: https://community.pega.com/support/support-articles/recents-section-does-not-refresh-data-left-pane

Published April 4, 2019 - Updated December 2, 2021

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