Support Article
Previous case appears on screen after switching applications
SA-43266
Summary
Case persists on the screen despite switching to a different application.
Error Messages
Not Applicable
Steps to Reproduce
- Open a case.
- Switch to a different application.
Root Cause
Issue with Pegasystems code or rules.
Resolution
Perform the following local-change:Include the following Java code to the Data-Portal.ApplicationFreeClipboard activity, which is a Pega extension point:
String portalName = "";
ClipboardPage threadPage = tools.findPage ("pxThread");
if (threadPage != null) {
portalName = threadPage.getString("pxPortal");
ClipboardPage pg_dec_PyDisplay = tools.findPage ("Declare_pyDisplay");
ClipboardProperty cp_pyDisplay = pg_dec_PyDisplay.getIfPresent ("pyDisplay");
if (cp_pyDisplay != null) {
ClipboardPage cp_pyDisplay_portal = cp_pyDisplay.getPageValue (portalName);
if (cp_pyDisplay_portal != null) {
cp_pyDisplay_portal.getParentProperty().removeFromClipboard();
}
}
}
Published October 27, 2017 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.