Exporting data into a data set
Export your data to prepare a backup copy outside the Pega Platform or to move data between data sets and the Pega Platform instances. A
.zip file that you get as a result of this operation is a package that you need to use when importing data into a data set. You can export data from data sets that support the Browse operation excluding the stream data sets like Facebook, Stream, or YouTube.
In Dev Studio, clickand open an instance of the Data Set rule.
Click a data set from which you want to export data.The following data set types support export:
- Database Table
- Decision Data Store
- Event Store
- Interaction History
- Monte Carlo
Click Export and wait until the data is processed.
Click Download file and save the
.zipfile with data.
- Importing data into a data set
Move data between data sets on the Pega Platform and initialize new Pega Platform instances by importing data set records that were exported from different Pega Platform data sets. You can import data into data sets that support the Save operation excluding the stream data sets like Facebook, Stream, or YouTube.
- Types of Data Set rules
Learn about the types of data set rules that you can create in Pega Platform.
- DataSet-Execute method
Apply the DataSet-Execute method to perform data management operations on records that are defined by data set instances. By using the DataSet-Execute method, you can automate these operations and perform them programmatically instead of doing them manually. For example, you can automatically retrieve data from a data set every day at a certain hour and further process, analyze, or filter the data in a data flow.
- About Data Set rules
Data sets define collections of records, allowing you to set up instances that make use of data abstraction to represent data stored in different sources and formats. Depending on the type selected when creating a new instance, data sets represent Visual Business Director (VBD) data sources, data in database tables or data in decision data stores. Through the data management operations for each data set type, you can read, insert and remove records. Data sets are used on their own through data management operations, as part of combined data
- Data Set rules - Completing the Create, Save As, or Specialization form
Records can be created in various ways. You can add a new record to your application or copy an existing one. You can specialize existing rules by creating a copy in a specific ruleset, against a different class or (in some cases) with a set of circumstance definitions. You can copy data instances but they do not support specialization because they are not versioned.