Support Article
Save action on repeat grid delete icon does not work as expected
SA-13772
Summary
The out-of-the-box Save action is configured on a repeat grid Delete icon. At runtime, on clicking the icon, the state of the work object is saved on deleting a row. However, the add or delete icons of repeat grid go missing after that.
Error Messages
Not Applicable
Steps to Reproduce
1. Configure save action on repeat grid delete icon as per screenshot below.
2. During runtime, observe that the work object is saved on clicking the delete icon of repeat grid, but the add or delete icons do not show up.
Root Cause
System is displaying Review harness because of the usage of deprecated Work-.Action section in your harness, if you test the behavior with the out-of-the-box harness which uses the pyCaseActionArea the issue will not be seen.
Resolution
We recommend you to align your design with Pega 7 by leveraging the pyCaseActionArea provided.
However, if you wish to stick to the usage of Work-.Action section, please use the following local-change solution:
Instead of the Save action configuration, Use Run Script and Call doSave JS function, by passing the below parameters.
bSaveAndContinue=true
event=event
Published September 1, 2015 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.