Skip to main content

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

Creating database templates

Updated on September 15, 2022

To create a new template for database exports, complete the following steps:

Pega Customer Decision Hub
  1. In App Studio, click ContentTreatments.
  2. On the Treatments landing page, click CreateDatabase.
  3. Enter a description of the template.
  4. Select the issue and group for storing the database template rule.
    To create the rule at the top level of your next-best-action business structure, leave the Issue and Group fields empty. The level at which you create the template determines the attributes (action details) that are available for use within the template.
  5. Click Create and open.
  6. Provide the following information:
    1. In the Database field, specify the name of the Database rule (Data-Admin-DB-Name) that points to the database where the system writes output records for the output template.
    2. In the Table field, enter the name of the table where you want to write the output content for this template.
  7. Specify whether you want to finalize the template after action initiation.
    By finalizing a template after the action initiation phase of an outbound run, you ensure that all data in the file is the result of a single run. If you want the data from multiple runs to be written to the same file, leave this option unselected.
    Note: If you choose to finalize the template after action initiation, all data from the run is appended to the existing data in the table.
  8. If you did not choose to finalize the template after action initiation, specify how you want to write the information to the destination database:
    • To replace the data in the destination table with new data, select the Overwrite existing data check box.
    • To add new data to the destination table, select the Append to existing data check box.

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