Configuring the DataSet-Execute method for Adaptive Decision Manager
You can automate data management operations on records that are defined by the Adaptive Decision Manager (ADM) data set by using the DataSet-Execute method. You can perform these operations programmatically, instead of doing them manually.
Start the DataSet-Execute method by creating an activity rule from the navigation panel, by clicking .For more information, see Creating an activity.
Click the activity Steps tab.
In the Method field, enter DataSet-Execute.
In the Step page field, specify the step page on which the method operates, or leave this field blank to use the primary page of this activity.
Enter a description for the method.
Click the Arrow icon to the left of the Method field to expand the Method Parameters section.
In the Data Set field, enter pxAdaptiveAnalytics.The Adaptive Decision Manager data set is a default, internal data set that belongs to the Data-pxStrategyResult class. Only one instance of this data set exists on the Pega Platform.
In the Operation list, select the Save operation to save records passed by a page or data transform in the ADM data store by performing the following action:
Select the Save list of pages defined in a named page check box to save the list of pages from an existing Code-Pega-List page.
- 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
- Methods and instructions by function
- 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.