Configuring the Decision Center database to include extensions

You must configure the Decision Center database to include the rule model extensions and initialize the database to upload the extension model.

About this task

Attention:

Before modifying your database, make sure that you have an adequate backup.

To configure the database to include the rule model extensions, you must complete the following steps:
  • Generate a script to create the tables in the database.

  • Include extensions that have been developed in Decision Center.

  • Execute the script.

Procedure

To configure the database using the Installation Settings Wizard:

  1. On the Installation Settings Wizard Home tab, click Next and then select Step 1: Configure Database.

    If this is not the first time you have modified the database, you get the following prompt:

    Some existing data has been found in the Decision
    Center database.
    What would you like to do?
     o Generate a script that keeps my data
     o Generate a script that erases the existing data and recreates the schema
  2. Select the option Generate a script that keeps my data.

    Decision Center generates an SQL script that retains existing data. Choose this option to update the existing database schema after you have added a new property to the rule model.

  3. Under Select the extension files you want to use, select the option Custom extensions (brms/brdx).

    Specify the location of your model extension (.brmx) and data extension (.brdx) files.

  4. Click Generate SQL.

    This command generates the SQL script that you use to create your database tables, based on the contents of the rule model and the extension files. When completed, the Installation Settings Wizard confirms that the rule-team-server.sql script has been generated.

  5. Click Execute the SQL script.
  6. Click Finish to execute the SQL script and initialize the database.

    During initialization, the extension model is uploaded to the database.

    If there are syntax errors in the model extension or data extension files, the upload fails and an error message is displayed. You must fix the errors using the Rule Model Extension Editor for rule extensions, or using an XML editor for event assets, then perform the configuration sequence again to make sure that the database initialization is successful.

  7. Restart the server.