Close popover
Braam Smith (BraamCLSA)
Partner Success Technical Lead
Pegasystems Inc.
BraamCLSA Member since 2012 100 posts
Posted: September 23, 2020
Last activity: September 23, 2020

Savable Data Pages: Deleting an instance in another System of Record [LSA Data Excellence]

Can I use Savable Data Pages to delete an instance or remotely purge an instance from another System of Record?

We don't see this quite so much as often the 'delete' is a special kind of update. However one of the paths the Save plan can take is an Activity, which could have an Obj-Delete or call a Connect-REST using the DELETE method. 

Stage a property on the Data Page that is set by actions performed in the User Interface to indicate whether the next save action for that instance should be (Create, Modify or) Delete, so that the When conditions in the Save Plan can check whether the Delete Activity should be performed.

However, don't ever use Commit in your Save Plan activity as this will commit deferred saves that are unrelated to your Savable Data Page. Investigate the WriteNow support for the Save Data Page options if your Save Plan database changes need to be immediate, but ideally treat these as any other deferred saves.


Discussion on this topic was sought from the LSA Data Excellence (Pega 8.4) webinar conducted in July 2020. The webinar and its full set of discussions that arose from it are available at LSA Data Excellence: Webinar, Questions & Answers

Pega Platform 8.4.1 Data Integration Case Management Lead System Architect Senior System Architect Developer Knowledge Share