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

Save action does not function on the work object

SA-104565

Summary



Pega Platform 7.1.8 is upgraded to Pega Platform 8.2.4.
The Save action trigger from the Save button on the Perform harness of the work object does not function. The work object is opened from a workbasket, data is updated, and the Save button is clicked to save the work object without completing the assignment.


Error Messages



Not Applicable


Steps to Reproduce

  1. Create a case.
  2. Add a button in a section and onClick event to invoke the Save action.
  3. Execute the use case.
  4. Enter the field values on the UI.
  5. Click Save button.


Root Cause



An issue in the custom application code or rules.
Two Document Object Model (DOM) elements are present. One element has an 'id' and the other has the 'name' attribute whose value is 'main'. This caused the global 'main' variable reference in pega.u.d.submitWhenFail to contain two HTMLElements. which breaks the Save flow.



Resolution



Perform the following local-change:

Change the non-auto generate DOM element id="main" to a different value such as id="mainInner" (instead of 'main').

Published August 5, 2020 - 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