Is it possible to make Pega launch a separate Thread when you use Duplicate Tab in Browser?

Hello! We are using Theme Cosmos 24.1 and have observed that combining “Duplicate Tab” with “Allow concurrent work in multi-tabs/browsers“ causes each tab to be opened in the same Thread and this present problems where data from the wrong case is used etc.

We have Enabled “Allow concurrent work in multi-tabs/browsers“ as described in Open Cosmos application multiple times in different browser tabs - User Experience / Knowledge Share - Pega Forums.

Question: Is it possible to make Pega launch a separate Thread when you use Duplicate Tab?

You can observe Two Scenarios, of which one is causing us problems.

  1. Scenario “Open Link in New Tab”: This works okay, every tab is opened in different threads.

    1. image
    2. image
  2. Scenario “Duplicate Tab“: We see problems where same thread is used for each tab.

This causes problems such as data from the wrong case is used, refreshing a tab switches cases and a case where a Case were displayed in another case.

We can recreate this in challenge Overriding Case Urgency | Pega Academy on Pega 24.2 Theme Cosmos.

No, Pega cannot reliably create a new thread when the browser uses Duplicate Tab, because the browser copies the same session and thread context. That is why both tabs can end up sharing data and showing the wrong case information. The correct solution is to avoid using browser Duplicate Tab for case work in Theme Cosmos. Open the case only through Pega actions such as Open in new tab, so Pega creates a separate thread for that tab. This keeps each case in its own context and prevents data from one tab affecting another.