Question
tetco
IN
Last activity: 24 Aug 2025 16:42 EDT
open each case on seperate thread
We have searc case screen, where user can search all cases. We provided a link for each cases, if we click on one case link to view an initial case, everything works.
If we click on a second link to open a second case; even though we open a new window, data from the original case is presented. If we start a fresh browser session this does not occur. Is there a way we can build this capability into the link which launches the new ie window for each case. ( seperate thread )
@Neela Reddy Mutyam
What’s happening is both windows share the same Pega session and thread, so the clipboard is reused and you see the first case’s data. Fix it by opening each case in its own document and thread. Change the link action to Open Work Item or Open Work by Handle, set Display to New document or New tab, and enable Use new thread. If you build the URL yourself, add newThread=true and pass a unique threadName like threadName=CASE_[pyID]. Give the window a unique name too to avoid reuse. Avoid plain Open URL in Window because it often reuses the current thread. In portals that support it, turn on multi-document and allow multiple documents in the harness settings. Test with two different cases and confirm two distinct threads appear in the clipboard. Clear cache and restart the browser if the old behavior persists.