Skip to main content

         This documentation site is for previous versions. Visit our new documentation site for current releases.      

Configuring the DataSet-Execute method for Visual Business Director

Updated on May 17, 2024

You can automate data management operations on records that are defined by the Visual Business Director (VBD) data set by using the DataSet-Execute method. You can perform these operations programmatically, instead of doing them manually.

  1. Create an activity rule from the navigation panel, by clicking RecordsTechnical ActivityCreate, to start the DataSet-Execute method.
  2. Click the activity Steps tab.
  3. In the Method field, enter DataSet-Execute.
  4. 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.
  5. Optional: Enter a description for the method.
  6. Click the Arrow icon to the left of the Method field to expand the Method Parameters section.
  7. In the Data Set field, enter the name of the data set that represents the Visual Business Director data source.
    A Visual Business Director data set belongs to the Data-pxStrategyResult class.
  8. In the Operation list, select the type of operation. Depending on the type of operation, specify additional settings.
    • Aggregate — Reduce the number of records that the VBD data set needs to store on its partitions. For more information, see Aggregation on the Visual Business Director data set.
    • Browse — Read all records from the VBD data set.
      • In the Maximum number of records to read field, enter a value to define the threshold for stopping the browse operation. You can also define this value through an expression. For more information, see Building expressions with the Expression Builder.
      • In the Store results in field, define the result page. The result page consists of an existing Code-Pega-List page.
    • Get statistics — Get the VBD data source statistics.
      • In the Store results in field, define a clipboard page to contain the results of this operation.
    • Save — Save records passed by a page or data transform in the VBD data source.
      • 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.
        Note: After a Save, the data source is visible on the Data Sources tab of the Visual Business Director landing page. Use the data source when writing to VBD in decision data flows.
    • Truncate — Remove all records from the VBD data source.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best. is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us