You are here: Decision Strategy Manager > Simulations > Simulation Settings > Creating an output definition

Creating an output definition

Create an output definition with a report class and database table to store the results of a simulation that you want to run. Output definitions determine how data instances (strategy results) map to data in a database table.

  1. Click Designer Studio > Infrastructure > Simulation Settings > Output Definitions.

  2. Click New.

  3. Click Create.

  4. In the Output Definition step, enter the name of the output definition, and select the strategy result class.

  5. Click Next.

  6. In the Database Configuration step, define the report class, the database, and the database table.

  7. Click Next.

  8. Review the default properties and specify properties that you want to create. The first list of properties corresponds to properties in the strategy result class selected in the output definition step.

    1. Optional: Select the Select additional properties from other classes check box if you need to add properties that are not in the strategy result class.

    2. Optional: Click Add Item to define properties.

    This step also displays the list of properties in the Data-Decision-StrategyExecution-ResultOutput class. These properties are inherited from the strategy's base class (Data-pxStrategyResult).

  9. Click Next.

  10. In the Review step, review the output definition, the database configuration, and the record that will be created.

    1. If you disabled the Create dedicated database tableoption in the Database Configuration step, click Download SQL to obtain the SQL script with instructions for creating the table in the expected database.

      Note: You must have the pySchemaBuilderAllAllowed privilege to download the SQL instructions.

    2. Run the script before starting a simulation that uses this output definition.

  11. Click Create.

  12. On the Simulation Settings landing page, click Refresh.