Save action does not function on the work object
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.
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.
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.
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.