After migrating from 7.3 to 8.1, in work class section on click of a button a Harness is being launched when the case is open. The Harness is being launched using a different page of the same work class. However in doing so it is being observed that it removes pyWorkPage.
This issue is only happening in Pega 8. It is working fine in 7.
How to resolve this? When i change the page context of Harness to pyWorkPage, the issue is not observed but we cannot do this in actual?
***Edited by Moderator: Pallavi to update platform capability tags***
Found the trigger point of the problem. doUIAction Activity (Pega 8) at step 10 is removing additional pages which includes pyWorkPage. This is not happening in Pega 7 though even that also has the similar step. Though there is slight change in the code of step "Remove Additional Pages" in doUIAction (08-01-01,07-33-10). However even if I copy the code from version 7, the issue persists. Only when that particular step (10) is commented, the issue gets resolved.