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
- Create a case.
- Add a button in a section and onClick event to invoke the Save action.
- Execute the use case.
- Enter the field values on the UI.
- 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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.