We have a requirement to copy a case and open it into a new tab.
We try to create a new tab by adding Harness action in a link within a section. But, I need to pass somehow the key (pzinskey) of my initial case (which means, one thread in the clipboard) to the new tab (another new thread in clipboard). The issue is that when I am sending the pzInsKey property as a key in the Harness action, PRPC thinks I am trying to open the same rule in a new tab and it overrides the content of my old tab.
How can we achieve this requirement?
***Updated by moderator: Lochan to add Categories***
Thats the only thing I could think about... copy the pzInsKey of initial case under any pxRequestor DataPage. But honestly I don´t know if this would be a good approach (storing values that are not really needed after the copy is done. For example, we might see issues if a bulk copy is needed in a future isnt it?). Because of that, i was wondering if it is possible to send parameters from one thread to another in the clipboard? if so, can anyone explain in a detail way how to do it?
Gowrishankar Ramasamy Thanks for been always helpful . As already discussed the main issue with the pdn link that you provided is they are using a deprecated icon. If we try to use a non deprecated icon and we add an Click - Harness event under action tab we see there are 3 options available. In our case since we want to open the case in a new tab, we should use NewDocument AND HERE IS THE ISSUE:
When user clicks the copy icon our context is Thread1 in clipboard. So if we do the copy first the content of our thread will be altered by the new created case. Since we doesnt want that, I am afraid we need to: open a new tab (which will create a new thread in clipboard) and once we are in the new thread copy the previous case. To do that, we need to send a parameter from one thread to another(as for example the pzInsKey) of the initial case. The problem here is that when sending the pzInsKey as a 'key' property in the Harness, PRPC thinks it is going to open same instance (same tab that it is already open).