How Soft deletes works in pega.

Hi Guys ,

I have a requirement where a particular record should be soft deleted from the UI and it should be exist in Database .

For Example : In repeating grid, we have 10 license records if user soft deletes one record from the repeating grid count in the UI should be 9 and in the database count should be 10 .

Please suggest me , how we can implement this requirement in pega.

Thanks in Advance.


Vinay Jaini


Keep up to date on this post and subscribe to comments

July 12, 2019 - 9:47am


Row delete action will delete it from clipboard. You can customize it in order to store the deleted item temporarily in some other page list and upon submitting the page, it should get appeneded in the pagelist and keep the record in DB intact.


July 12, 2019 - 11:39am
Response to Santanu

Hi Santanu ,

Thanks for the Response .

After Selecting one record from repeating grid it will open in a modal dialog and in that we are showing a yes button on click of yes button that record should be deleted from the repeating grid and should be exist in database .

Can you please suggest .

Thanks in Advance .



July 16, 2019 - 12:48pm
Response to vinayj9650


I'm not sure to fully get it. It will always be soft delete from the UI until you reach the next Commit. 

So the user is removing an entry from the repeating but this entry should still be available on the WorkObject correct? Until when? how about if the user is coming back to that same screen then shall return the same list again or the list without soft deleted records?

July 16, 2019 - 1:04pm

Hi Vinay,

Since we are using repeating grid we will be having the index value in pxListSubscript. On Click of grid load, a data transform to set index value in some param or property on click of action remove the pagelist from clipboard using that index.