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

Blank screen is displayed

SA-17231

Summary



Blank screen is displayed when user try to open second work object from workbasket after first work object is transferred.
PRPC is 5.5 and CS 61sp1


Error Messages



no error


Steps to Reproduce



1. Open a workbasket / worklist.
2. Open a work object from the workbasket / worklist .
3. Transfer the work object to an operator.
4. View returns to previously opened workbasket / worklist.
5. Open another work object from same workbasket / worklist.


Root Cause



An issue in the Pega code or rules :

Whenaa workobject is opened, the HTML rule PegaCA-Work-Interaction-Call PerformFrameSource is running. This determines if the CPM composite UI is displayed. For the first work object, the CPM UI is not yet displayed so PRPC will create a new CPM UI, which include a DIACTION frame. When the listview is re-display, this CPM UI is removed. However a PRPC property called CompositeDisplayed in page CAHarnessInfo will not be set to false. 
For the second work object, PRPC checks the page CAHarnessInfo if the CPM UI is displayed, which returns an incorrect true value.
As a result PRPC tries to replace the parent of DIACTION frame which at this time does not exist anymore. 

The When rule doing this test is PegaCA-Work • CACompositeNotDisplayed. 
The test performed is the following: 

When pxRequestor.CAHarnessInfo.CompositeDisplayed DOES NOT EQUAL "true" 
Or pxRequestor.CAHarnessInfo.CompositeDisplayed EQUALS "false


Resolution


Perform the following local-change:

In the ListViews which was used to open workobject, we update HTML fragment referenced on the “Format” tab. This neess to be customized in the uleset since OOB HTML fragment could be a final rule. Add the following code in the starting of the custome HTML fragment used in this Listview. This will remove the stale page and while opening the new Work object, it will recreate it with correct data.

<% 
ClipboardPage cp=tools.findPage("pxRequestor"); 
if (cp !=null ) 
cp.remove(".CAHarnessInfo"); 
%>

 

Published January 31, 2016 - 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