Cloud Pak for Business Automation

 View Only

App data persistence in CP4BA Business Automation Application

By Kam To Frederick Ngo posted Fri November 25, 2022 12:56 PM

  

Data persistence is a handy and useful feature provided by Business Automation Application. It is a “no-code” feature allowing you to persist your application data. If not using this feature and if you want to persist your application data, the only way is to provide your own external store and write your own codes in your application to store and restore data to and from your external store. App data persistence feature allows you to specify the data you want to persist in just a simple click in a checkbox and the rest will be taken care for you.

There are two data persistence scopes.  The application scope allows you to persist data in your business application so that data are shared among users when using the same business application.  In the following example, you can see data "Defects" is marked as "Application" persist data.  In this case, all users using the business application will see and use the same defect list.



On the other hand, the user scope allows you to persist data in your business application for the user so that user will see their data across sessions. User scope ensures data not share among users when using the same business application.  In the example, you can see data "MyInProgressDefect" is marked as "User" persist data.  In this case, user will see their own in progress defect when using the business application.

Once data is marked, the data will be retrieved and populated automatically when the application pages load.  The data will also be automatically saved for any change of such data when user using your business application.

You can find the details about the feature in the knowledge center https://www.ibm.com/docs/en/cloud-paks/cp-biz-automation/22.0.1?topic=reference-data-persistence

I appreciate any comments or feedback, using the comment function below.

0 comments
14 views

Permalink