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

Open URL in Window opens another WO and overrides existing there

SA-32386

Summary



When running through the DuplicateSearchCase use case, suppose when there is a case C-33 created with the same values as that of other created cases:



Then in the DuplicateSearchCase section of C-33 work object, one can see C-31, C-32, C-20 as duplicates.

If the clipboard is observed, initially it has C-33 thread which is as expected.



Now open any of the duplicate cases from C-33 case, say C-20.




Ideally, one should see two threads in the clipboard now, one for C-33 and other for C-20.

But the issue here is, the C-20 threads gets created overriding C-33 thread.




Though user closes C-20 case window, the thread still exists in the clipboard.
And Since the context of C-33 has been lost from the clipboard, user will not be able to perform any action on the opened WorkObject (WO).



 

Error Messages



The duplicate case opened opens in a new window which overrides the existing thread.

Steps to Reproduce



1. Create a flow which includes DuplicateSearchCase smart shape to identify the duplicate cases.
2. On parallel create "Must Match" Conditions for that case type rule. 
3. Run the scenario and observe the behavior.


Root Cause



The duplicate case opened opens in a new window which overrides the existing thread of the currently opened WO. 

Hence, unable to proceed further on the opened WO since the context of it is lost. 

This is a known bug in this version and is fixed in Pega 7.2.1, by using "Open Work by Handle" instead of "Open URL in new window" on click of "pyID" link in "pyDuplicateSearchCases" section. 

Resolution


 
As per users requirement, each WO should open in new window instead of new tab.

Therefore, the change "Open Work by Handle" cannot applied in such scenario.

To resolve the issue, follow the below steps to modify "pyDuplicateSearchCases" section:


1.Add a new action "Run Data Transform" before the action "open URL in new window" on Click event of Link:





2. Here the data transform "MyDT" is used to set the parameter for URL formation.
Hence, create the data transform to provide parameters for the URL which is to be opened in new window. 


 

 

Suggest Edit

Published January 20, 2017 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

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