Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Perform harness replaces Screen Layout

SA-46219

Summary



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.


Error Messages



Not Applicable

Steps to Reproduce

  1. Launch the portal under consideration.
  2. Fill in the required details and click Continue (doFormSubmit).
  3. Perform harness replaces the whole screen.


Root Cause

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.


Resolution



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

Suggest Edit

Published April 12, 2018 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us