Now we are converting tradition portal to composite portal
The Business requirement is as follows
User can search WorkObject for review purpose and there are button on the Review Harness. When User click on the button an activity is called which runs the business logic and does the show-harness with a primary page.
On click of a button I had called a run script and called pega.desktop.showHarness and called the preactivity to run the business logic, But here the primary page should be MyPage rather than pyDisplayHarness.