Configuring the DataSet-Execute method for Event store
You can automate data management operations on records that are defined by the Event store 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 navigation panel, by clicking , 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.
- In the Data Set field, enter
pxEventStore.
- In the Operation list, select the type of operation. Depending on the type of operation, specify additional settings:
- Save records passed by a page or data transform in the event store data source by
specifying the Save operation 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.
- Read records from the event store data source by a key by specifying the
Browse by keys operation by performing the following
actions:
- Select a key and enter the key value. You can also define the key value through an
expression.
- Optional: To define more than one key, click Add key.
- In the Store results in field, define a clipboard page to contain the results of this operation.
- Select a key and enter the key value. You can also define the key value through an
expression.
Previous topic Configuring the DataSet-Execute method for Decision Data Store Next topic Configuring the DataSet-Execute method for File