Calling doUIAction openWorkByHandle parameters from another activity?
I traced the Action Set Item Open Work By Handle and need to replicate the behavior of opening a case in a new tab in the display and I see the parameters below are set, but the only overlap between these parameters and doUIAction is action & key which I've passed in. What parameters do I need and how can I retrieve them (e.g. tabIndex) from an activity. Using pega.desktop.openWorkByHandle(pzInsKey) works but it seems that is not best practice and that API may be deprecated.
I traced the Action Set Item Open Work By Handle and need to replicate the behavior of opening a case in a new tab in the display and I see the parameters below are set, but the only overlap between these parameters and doUIAction is action & key which I've passed in. What parameters do I need and how can I retrieve them (e.g. tabIndex) from an activity. Using pega.desktop.openWorkByHandle(pzInsKey) works but it seems that is not best practice and that API may be deprecated.
1 | action | openWorkByHandle |
2 | key | pzInsKey |
3 | contentID | 8hexdigits-4hexdigits-4hexdigits-4hexdigits-12hexdigits |
4 | dynamicContainerID | 8hexdigits-4hexdigits-4hexdigits-4hexdigits-12hexdigits |
5 | tabIndex | New tab number 1 indexed |
6 | prevContentID | 8hexdigits-4hexdigits-4hexdigits-4hexdigits-12hexdigits |
7 | prevRecordkey | pzInsKey it's opening from |
8 | portalThreadName | portalThreadName |
9 | portalName | portalName |
10 | pzHarnessID | pzHarnessID |