Perform harness replaces Screen Layout
User has a functionality wherein on click of a button, run script action is triggered for doFormSubmit function.
The portal consists of Header_Left screen layout and the button exists in main area of the portal of submission.
On submission, the perform harness with the requisite data should load in the main harness. This is not happening and the whole screen layout is being replaced by the perform harness. Ideally it should only load in the main area of the screen layout.
Also, the said behavior occurs only when the doFormSubmit action is performed right after screen layout is loaded.
If any other action such as trigger of any event from left sidebar area/header area, click of link or onchange of drop-down in right main area, or any other action is performed before any doFormSubmit action then, it works perfectly fine loading the subsequent harness in the right main area as required.
Steps to Reproduce
- Launch the portal under consideration.
- Fill in the required details and click Continue (doFormSubmit).
- Perform harness replaces the whole screen.
An issue in the custom application code or rules:
Issue is happening because "pyActionInfo" page is not present and Pega is expecting this page to be present while generating the side and header panel HTML.
Whenever user clicks on side panel links, "doUIAction" activity is called which will create "pyActionInfo" page, for this reason it is working fine whenever user navigates from left panel links.
In addition, doFormSubmit/Finish Assignment is process-work related action and it should be configured in a flow where next screen is shown where the page is automatically created.
In this use-case, as there is no flow involved, the page need to be created manually.
Perform the following local-change:
Create "pyActionInfo" page before doing "doFormSubmit"/FinishAssignment call.
Action 1: Run Activity > Create new step page "pyActionInfo" of class "Embed-UI-RunTime-Element"
Action 2: doFormSubmit or FinishAssignment
0% found this useful