Collecting sample data for simulations
In configurations without Pega Customer Decision Hub™ or Pega Marketing™, after configuring the system for data migration, complete the collection of sample data for simulations by setting up a make decision data flow. Use the following example as the baseline for your configuration.
For Pega Customer Decision Hub or Pega Marketing scenarios, skip this procedure because samples are collected automatically.
Configuring the make decision data flow for data migration
- In the navigation panel of Dev Studio, click .
- In the list of data flow instances, open the CustomerData data flow.
- In the data flow work area, click .
- In the New work area, define the basic configuration for your data flow record, for example:
Label: Customer Data For Simulations
Apply to: DMOrg-DMSample-Data-Customer
Add to ruleset: DMSample 08-03-99
- Click .
- In the Edit Data flow work area, update the destinations of your data flow:
- On the data flow canvas, double-click the destination shape.
- In the Destination configurations dialog box, in the Destination list, select Data flow.
- In the Data flow field, enter: pyWriteToSimulationDataSet
- Confirm the new destination by clicking Submit.
- In the destination shape, click .
- Double-click the new destination shape.
- In the Destination configurations dialog box, in the Destination list, select Data flow.
- In the Data flow field, enter: NextBestActionDecision
- Confirm the new destination by clicking Submit.
- In the Edit Data flow work area, verify whether the data flow contains all the elements as in the following figure, and then click .
Collecting the migration data
After you configure the make decision data flow, run that data flow to collect the data that you want to migrate to the Business Operations environment.
- In the Edit Data flow work area, click .
- In the Data flow test run dialog box, click .
- When the data flow run completes, check for errors and close the window.
Conclusions
You have collected the sample customer data in the simulation data set. You can now migrate that data to use in tests.
What to do next
After collecting the sample data, either manually export the data from the production environment or automatically export data and import it with Deployment Manager. For more information, see one of the following articles:
- Exporting data from the production environment
- Exporting and importing simulation data automatically with Deployment Manager
To view the main process outline for this tutorial, see Configuring the system for running simulations of decision strategies.
Previous topic Promoting an application in the production and Business Operations environments Next topic Exporting data from the production environment manually