Question

Savable Data Pages v7.4

What is meant by Savable Data pages exactly? As I saw the descriptions it is stating that "You can define a data page to save data to a system of record by using save plans. By using save plans, you can save the updated information after without an activity."

So, Does it mean is it saving to the Internal database or External System database or it will just update the Data page ?

As per my knowledge System of Records means the Page/Page List will get the data from the external system as reference.

Please clarify me on this, I'm confused about this.

https://community.pega.com/sites/default/files/help_v74/procomhelpmain.htm#rule-/rule-declare-/rule-declare-pages/creating-savable-data-page-tsk.htm#task_xjx_b43_ccb

Correct Answer
January 16, 2019 - 9:48am

Hi Raj,

Please find the answers to your queries as follows,

  1. Is this Savable Data page applicable only for the Data type rule (Data table) ?  i.e, for the local storage – No. This supports all classes irrespective of local storage.
  2. Saving the Data page means
    1. If it is a Page structure we are populating - Will it save the updated page to DB ? – Yes.
    2. If it is a List structure we are populating - Will it save the updated page list or newly added page list to DB ? – For list type, “Database save” option is not available under Data save options in the data page. One has to choose “Activity” save option in the “Save type” drop down and have their own logic to save the list.
    3. If we are using List and adding a new page to the list of Data page - how we will add new page is it using <APPEND> keyword or using Data Transform append to ? – You can use either of them given the data page is not “Read-only”
  3. On the Data Save options if we select the Database save option and
    1. If we select the same class as Data page class - Will it save directly to the DB ? - Yes
    2. If we put the other class than Data page class - Will it save to the new class (table mapped) which is mentioned and Does the both class structures need to be same (new class mentioned and the Data page class) and what need to be specified on the DataTransform for new class ? – The data transform should have the necessary steps to do the mapping of the properties from the data page class to the new class.
  4. Data page save means will it save to the Defer save? – Yes
  5. Will it committed to the DB when the next commit happens - explicitly or through OOTB (assignment complete) ? If the savable data page is added as part of the flow action, commit happens on assignment completion. So, no explicit commit is required.
  6. If we select the Data Save options - Activity with Save-Datapage option with writenow, will it commit immediately like Obj-Save with writenow ? - Yes

Hope this clarifies your doubts related to the savable concept introduced in Pega.

Regards

Mahesh M

Comments

Keep up to date on this post and subscribe to comments

December 19, 2018 - 4:31pm

Hi Raj,

While exploring about the new concept in Pega 7.4 - Savable Data pages created a sample document which explains about its advantages and its usage. Attaching it over here for your understanding, hope that might answer your queries.

Regards

Mahesh M

Pega
December 25, 2018 - 1:28am
Response to Mahesh Midthuru

Hi Mahesh,

Thank you So much for the document. It's really helpful. But, I have the following doubts. Please clarify.

  1. Is this Savable Data page applicable only for the Data type rule (Data table) ?  i.e, for the local storage
  2. Saving the Data page means 
    1. If it is a Page structure we are populating - Will it save the updated page to DB ? 
    2. If it is a List structure we are populating - Will it save the updated page list or newly added page list to DB ? 
    3. If we are using List and adding a new page to the list of Data page - how we will add new page is it using <APPEND> keyword or using Data Transform append to ?
  3. On the Data Save options if we select the Database save option and 
    1. If we select the same class as Data page class - Will it save directly to the DB ?
    2. If we put the other class than Data page class - Will it save to the new class (table mapped) which is mentioned and Does the both class structures need to be same (new class mentioned and the Data page class) and what need to be specified on the DataTransform for new class ?
  4. Data page save means will it save to the Defer save? Will it committed to the DB when the next commit happens - explicitly or through OOTB (assignment complete) ?
  5. If we select the Data Save options - Activity with Save-Datapage option with writenow, will it commit immediately like Obj-Save with writenow ?

January 7, 2019 - 9:18am
Response to choky

Hi Raj,

I had dropped a mail to our Product Specialists regarding this additional queries and will let you know if i hear an update from them.

Regards

Mahesh M

Pega
January 8, 2019 - 4:30am
Response to Mahesh Midthuru

Thank you so much Mahesh.

January 16, 2019 - 9:48am
Response to choky

Hi Raj,

Please find the answers to your queries as follows,

  1. Is this Savable Data page applicable only for the Data type rule (Data table) ?  i.e, for the local storage – No. This supports all classes irrespective of local storage.
  2. Saving the Data page means
    1. If it is a Page structure we are populating - Will it save the updated page to DB ? – Yes.
    2. If it is a List structure we are populating - Will it save the updated page list or newly added page list to DB ? – For list type, “Database save” option is not available under Data save options in the data page. One has to choose “Activity” save option in the “Save type” drop down and have their own logic to save the list.
    3. If we are using List and adding a new page to the list of Data page - how we will add new page is it using <APPEND> keyword or using Data Transform append to ? – You can use either of them given the data page is not “Read-only”
  3. On the Data Save options if we select the Database save option and
    1. If we select the same class as Data page class - Will it save directly to the DB ? - Yes
    2. If we put the other class than Data page class - Will it save to the new class (table mapped) which is mentioned and Does the both class structures need to be same (new class mentioned and the Data page class) and what need to be specified on the DataTransform for new class ? – The data transform should have the necessary steps to do the mapping of the properties from the data page class to the new class.
  4. Data page save means will it save to the Defer save? – Yes
  5. Will it committed to the DB when the next commit happens - explicitly or through OOTB (assignment complete) ? If the savable data page is added as part of the flow action, commit happens on assignment completion. So, no explicit commit is required.
  6. If we select the Data Save options - Activity with Save-Datapage option with writenow, will it commit immediately like Obj-Save with writenow ? - Yes

Hope this clarifies your doubts related to the savable concept introduced in Pega.

Regards

Mahesh M

Pega
January 23, 2019 - 2:56am
Response to Mahesh Midthuru

Hi Mahesh,

Thank you very much for the clarification. But just need some more clarification on the below. 

  1. If we are using List and adding a new page to the list of Data page - how we will add new page is it using <APPEND> keyword or using Data Transform append to ? – You can use either of them given the data page is not “Read-only” [Raj] : So Does it mean we can update/Add new pages only for the Savable and Editable Data Pages ? (Generic question)
  2. On the Data Save options if we select the Database save option and
    1. ​If we put the other class than Data page class - Will it save to the new class (table mapped) which is mentioned and Does the both class structures need to be same (new class mentioned and the Data page class) and what need to be specified on the DataTransform for new class ? – The data transform should have the necessary steps to do the mapping of the properties from the data page class to the new class. [Raj] : So If we put new class then the new class page will save right and the current class will be same as before ? Please clarify 

April 3, 2019 - 9:36pm
Response to choky

Pega
January 3, 2019 - 4:41am

Hello All,

Can someone help me on this ?

December 3, 2019 - 8:40am

Won't Savable-DataPage's run in different thread?

December 4, 2019 - 1:59am
Response to JayeshS3

Hi,

Thank you for posting your query in the PSC. This looks like an inactive post and hence, we suggest you create a new post for your query. Click on the Write Post button here. Once created, please reply here with the URL of the new post.

You may also refer this discussion link as a reference in the new thread.

Vidyaranjan | Community Moderator | Pegasystems Inc.