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: Using REST POST, PUT and PATCH for updates [LSA Data Excellence]

How do I instruct my Savable Data Page to use POST vs. PUT/PATCH for updates to REST APIs?

Conditional logic in the Save Plan can test a property (which property is up to you & your design) staged on the Data Page to determine whether it should do a Create or Update operation, and use the appropriate save path. This allows the one Savable Data Page to have:

  • One Save option that uses the POST operation (for Create), and 
  • One Save option that uses the PUT or PATCH operation (for Update).

This should cover most use cases that prevent you from having to step into an Activity to handle these distinctions. Consider the Activity as a last resort in this scenario, but feel empowered to use an Activity if needed. If the version of Pega you are using does not provide 'Connector' as one of your Save types, then you will need an Activity.


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