Skip to main content

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

Assigning custom reports to simulation tests

Updated on August 4, 2022

You can create custom reports and assign them to simulation tests. By using this feature, you can adjust simulation reports to your business needs, for example, by configuring a report to show additional or more detailed data.

Important: This is an advanced task. Perform this task if your operator profile has access to Dev Studio, for example, you are a system architect.
Pega Customer Decision Hub
  1. Create an output that is the source for your report or use an existing output by performing the following actions:
    • To create an output, go to step 2.
    • To assign a report to an existing output, skip to step 3.
  2. Create a new output for your simulation test by performing the following steps:
    1. In the Pega Customer Decision Hub portal, click Simulation Testing.
    2. Open a simulation test and assign it a new output by clicking ActionsEdit simulation.
      You can add outputs to simulation tests that are in the In Build status. Editing the simulation settings removes data about the previous simulation run, and changes the simulation status back to In Build.
    3. In the Assign output destinations section, click Create New.
    4. In the Create new output window, enter the name of your output, for example, MyDataTable, and select the output type, for example, Database Table.
    5. Click Done.
    A new output is created in your application together with a new class Data-Output_Name, for example, Data-MyDataTable.
  3. In Dev Studio, create a report definition.
    You must create a report definition in the same class as the output that you want to assign to this rule. For example, if you want to assign a report to MyDataTable that is in class Data-MyDataTable, you must create a report definition in the same class ( Data-MyDataTable ). For more information, see Creating advanced reports.
  4. Enable the report definition as a simulation report by performing the following actions:
    1. On the Report Definition form, click the Report Viewer tab to open it.
    2. In the Report header section, complete the Report title field.
    3. Create the report shortcut.
      For more information, see Creating a report shortcut.
  5. Save the rule.
    The report is now available in Pega Customer Decision Hub to assign to an output that you created in step 2.

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