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

On Change of correspondence refreshes the entire harness



On Change of correspondence refreshes the entire harness instead of the section.

Error Messages

Not Applicable

Steps to Reproduce

  1. Use the ActionInitializeCorr as a reference in a flow action.
  2. Select any out-of-the-flow local action PegaCheck-Adj-.Notify.

Root Cause

A defect in Pegasystems’ code or rules.

ActionInitializeCorr is used as a reference in the 'Notify' flow action. In the HTML reference, onChange of a party or a correspondence, a JavaScript function is called to submit the document (document.main.submit), which results in refreshing the entire harness.


Perform the following local-change:
  1. Reference a wrapper section (for example, CorrWrapper) in the 'Notify' flow action.
  2. Create a non-auto generated (for example, AxnCorrInclude) section and refer it in the CorrWrapper section.
  3. Add the below code in the non-auto generated section.

    <pega:include name="ActionInitializeCorr" type="Rule-OBJ-HTML"/>

  4. Modify the submitSelection method, in the HTML ActionInitializeCorr, and pass the parameter in submitSelection as 'this'.

    { function submitSelection(selectObj)
    var sectionElem = pega.u.d.getEnclosingSection(selectObj);
    pega.u.d.reloadSection(sectionElem, "", "", false, true, "-1", false);

Published December 9, 2017 - Updated December 2, 2021

Was this useful?

0% found this useful

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

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