John Bushey (JohnB097)
Application Architect
JohnB097 Member since 2018 16 posts
Posted: October 26, 2020
Last activity: October 28, 2020
Posted: 26 Oct 2020 18:14 EDT
Last activity: 28 Oct 2020 18:30 EDT

How to save data page?

What is a good design pattern to save data from a data page into a concrete class on 7.2.2?     It looks like in 7.4 and up Pega offers additional support in the form for flow shapes, flow action options, and a utility to save data page data but I'm on 7.2.2 for now.

I'm able to read my data declaratively by using the property setting "refers to a data page" and it works great.  I also need to update this data.   During my experimental phase of the project I've used  an utility shape that calls obj-save.    This works but I'll have to put this shape in a lot of places throughout my flows to handle all of the use cases.  There are a lot of paths to consider and I can't just find a common place to call it once.    I'd like to avoid creating more procedural code.     Is there a way to do this declaratively?      Can I use an on-change to trigger the save?


***Edited by Moderator: Pooja to change content type from Discussion to Question, update product version***
Pega Platform 7.2.2 Case Management Financial Services Lead System Architect