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.
Create an activity rule from the Explorer panel, by clicking Records > Technical > Activity > +Create, to start the DataSet-Execute method.
For more information, see Activities - Completing the New or Save As form.
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.
Optional: Enter a description for the method.
Click the Arrow icon to the left of the Method field to expand the Method Parameters section.
Specify the following parameters:
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 type of operation and specify additional settings.
Save — Save records passed by a page or data transform in the ADM data store.
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.