Is there any way to change the naming rule of thread name

We’re using Mashup to embedded PEGA applications into our web portal. And the Data-Portal.ShowDesktop is used.

We have specified the data-pega-threadname at the Mashup code. But we still found the the thread name changed offten.

Lots of actions on the portal are done via doUIAction, it seems everytime the doUIAction will create new thread.

And the new thread will be named with a new name.

To re-use components as much as possible, we need to customize the thread name as per our rules.

Is there anyway we can refact the naming rule of thread name?

Thanks.

Hi @GAVINHSU,

I haven’t tried this before but I found two extension activities pySetThreadName and pySetMashupThreadName to set the thread name at run time, please check if these can help you.

Thanks,
Vinay

@phrazle By deselecting this box, the import will be subjected to the validation rules.

@GAVINHSU : Thread name can be changed by setting the pyDocumentTitle in the primary page of the new thread, For ex: If you are loading harness through actions pyDisplayHarness is the primary page of the thread. Set pyDocumentTitle to the desired name in the pyDisplayHarness page, that reflect in the tab name as well as thread name in the clipboard.

@VinayKumarL16594575 Actually, the thread name can be changed via the ways you’ve provided. But for the OOTB UI actions via user portal, the new thread could be created per actions. And till now, we still have no idea how to customize the name of threads created by UI actions. Any suggestion would be appreciated.