'Open Work Item' action opens work object in designer studio
User has created a 'Custom' type portal and it has a harness which contains sections.
One of the sections has a button and we have configured an onClick event on the button which calls the out-of-the-box 'Open Work Item' or 'Open Work By Handle' actions.
If user launch the custom type portal from Designer Studio and then click on this button, it opens the work object in Designer Studio rather than the current active portal window. We expect it to open in the same portal.
If one directly login as an user into the Custom type portal and then click the button, it opens the work object in a new window rather than opening it in the same window. We expect it to open in the same portal window.
Steps to Reproduce
- Create new 'Custom' type portal and associate it with an access group.
- On a section included on the portal harness, create a button with an onClick event.
- Add 'Open Work Item' or 'Open Work By Handle' and specify an appropriate work object ID.
- Launch the portal from Designer Studio and test the runtime behavior.
A defect in Pegasystems’ code or rules. The behavior reported with the use of 'Open Work Item' or 'Open Work By Handle' actions has been filed as a BUG and reported to Pega Product Management for consideration in a future release of Pega.
Perform the following local-change:
Configure the button to use Harness > Replace Current action.