Creating simulation tests in Pega Customer Decision Hub
Create a simulation test to understand the effect of business changes on your decision management framework. For example, you can create a simulation test to investigate whether the introduction of a new business logic affects the frequency with which propositions would be offered across a segment of customers. When you complete a simulation test, you can view its output in Visual Business Director or in the simulation testing UI. You can also save the results to a data set for further processing.
- In the Pega Customer Decision Hub portal, click Simulation Testing.
- In the top right corner of the Simulation Testing screen, click Create.
- Select the application context for the new simulation test:
- In the Application context section, expand the drop-down menu.
- Select an application context.
- In the Purpose section, expand the drop-down menu and specify the simulation test type. For example, you can classify your simulation test as Validation if you want to debug a strategy configuration or as Decision funnel explanation to assess how certain components and expressions influence the outcome of a decision framework.
- Select a Strategy rule that you want to simulate:
- In the Strategy section, click
Configure. You can simulate only one strategy at a time. When you select a strategy, you can view the application context of the selected strategy and its Strategy Result (SR) class.
- Click Add next to the strategy that you want to simulate.
- In the Strategy section, click
Configure.
- Select the input data source for the simulation test:
- In the Input section, click Configure.
- Click Add next to a data source to select it as input for
the simulation test.
You can select a Data Set, Data Flow, or Report Definition rules as input. For example, you can use the Monte Carlo data set to create a sample set of customer data for simulation purposes.
If there is a specific data flow that you want to use as an audience, and you cannot see it for selection, ensure that the data flow meets the following requirements:
- The source is not abstract.
- The destination is not abstract.
- The output class is the strategy's Apply-to class, or a child of this class.
- Optional: Edit the default simulation test ID by clicking the Edit icon in the Simulation ID prefix section.
- Optional: Define the storage point of simulation results by doing one of the following
actions:
- To configure an existing rule instance as the simulation output, click Add Existing and select an output from the list.
- To create an output target for the simulation test, click Create New and enter the Name and Type parameters of the new output target.
- Optional: To remove old output data from the simulation test results, select the Clear previous results for simulation test check box.
- Add reports to the simulation output. This step is optional for simulations of the type
Decision funnel explanation.
- In the Assign reports to outputs section, click
Configure. In the Assign reports to outputs section, you can view all the outputs that you configured for this simulation.
- Click Add.
- In the Output column, click Add to assign a report to an output type.
- In the Report category column, select the report category, for example, VBD or Distribution.
- In the Report column, select the report to assign to the
simulation output. For example, if you selected Simulations as the report category, you can select Channel Distribution as the report to simulate how a new proposition is being distributed across a specific channel.
- Click Done.
- In the Assign reports to outputs section, click
Configure.
- Save the simulation by doing one of the following actions:
- To save the simulation test, in the top-right corner of the New Simulation Test screen, click Submit.
- To save the simulation test and run it immediately, in the top-right corner of the New Simulation Test screen, click Submit and run.
Previous topic Simulation testing Next topic Running simulation tests