Exporting Rules Packages
You can export an entire rule package containing the rule definitions, business calendars, and references to the templates and versions that the rule package is dependent on, to an .XML file.
It is not necessary to export the rule templates if you are exporting to the same system (for example, backing up or restoring a rule package) or to an equivalent system (for example, a lab versus a production environment). However, if you are moving the rule package to a new system or sending it to Genesys for service, you should export both the rule templates and the rule packages so that, when imported, all referenced templates are available in the target system.
Refer to Exporting Rule Templates for details on how to export rule templates.
Exporting rule packages enables you to do the following:
- Copy an entire rules configuration from a test environment to a production environment.
- Perform a backup of the entire rules configuration before performing a Genesys Rules System upgrade.
To export a rule package:
- Select the Tenant to which the rule package belongs from the drop-down list.
- In the Explorer Tree, select the correct node (the level at which the rule package was defined).
- Click Export Rule Package. The selected rule package is exported to a single .xml file.
Importing Rules Packages
You can import an entire rule package containing the rule definitions, business calendars and test scenarios for that rule package, from an .XML file.
If it is necessary to import the rule templates, you should import them prior to importing the rule packages, since the rule packages make references to the templates that they use.
It is not necessary to import the rule templates if you are importing or exporting from the same system (for example, backing up or restoring a rule package) or from an equivalent system (for example, a lab versus a production environment). However, if you are importing the rule package to a new system or sending it to Genesys for service, you should export both the rule templates and the rule packages so that, when imported, all referenced templates are available in the target system.
Refer to Importing Rule Templates for details on how to import rule templates.
Importing rule packages enables you to do the following:
- Copy an entire rules configuration from a test environment to a production environment.
- Perform a backup of the entire rules configuration before performing a Genesys Rules System upgrade
To import a rule package:
- Select the Tenant to which the rule package belongs from the drop-down list.
- In the Explorer Tree, select New Rules Package under the appropriate Solution.
- Click Import Rule Package. A dialog box opens in which you to enter the Package Name and the Business Name, and select the .xml file to be imported.
- Check Auto-save each rule to auto-save each rule on import. This option should only be used if the rule package is known to be valid on the target system, such as when copying between two identical systems (a lab versus a production environment). Auto-save commits each rule in the package without validating that it matches the underlying templates. If you do not use this option, each rule is imported in the draft state and must be saved manually. This method shows any validation errors and gives the rule author the opportunity to fix them before deployment.
- Check Auto-create business hierarchy during import to tell GRAT to automatically create any missing nodes in your business hierarchy for rules that are contained within the .xml file. For example, if this option is selected, during the import if there is a rule that is associated with the “Widget Sales” department, but no such department is defined in the business hierarchy, GRAT will attempt to create it during the import operation. The GRAT user who is performing the rule package import must have permission to create this folder. If the box is not checked and there are rules associated with missing nodes, the import will fail.
- Click Import.
Exporting Rules Templates
You can export rule templates to an .XML file. Rule templates are stored in the repository as separate assets so they can be used by multiple rule packages. The rule templates are not part of the rule package themselves; the rule package refers to the rule templates that it needs.
It is not necessary to import or export the rule templates if you are importing or exporting to the same system (for example, backing up or restoring a rule package) or to an equivalent system (for example, a lab versus a production environment). However, if you are moving the rule package to a new system or sending it to Genesys for service, you should export both the rule templates and the rule packages so that, when imported, all referenced templates are available in the target system.
Refer to Exporting Rule Packages for details on how to export rule packages.
To export a rule template:
- In the Explorer Tree, select the Tenant tab.
- Click Export Rule Templates. A dialog box opens in which you select the .xml file to import.
ImportantYou must export all versions of the templates so that on the target system, the repository can be reconstructed with the same version numbering as on the source system.WarningBe careful when changing templates or template versions, as it could affect existing rules. For example, an existing rule might use a condition that does not exist in a different version of the template. Consult with the rule template developer to ensure that you are choosing the correct templates and versions for your application.
Importing Rules Templates
You can import rule templates from an .XML file. Rule templates are stored in the repository as separate assets, so they can be used by multiple rule packages. The rule templates are not part of the rule package themselves; the rule package refers to the rule templates that it needs.
If it is necessary to import the rule templates, you should import them prior to importing the rule packages, since the rule packages make references to the templates that they use.
It is not necessary to import the rule templates if you are importing from the same system (for example, backing up or restoring a rule package) or from an equivalent system (for example, a lab versus a production environment). However, if you are moving a rule package to a new system or sending it to Genesys for service, you should import both the rule templates and the rule packages so that, when imported, all referenced templates are available in the target system.
Refer to Importing Rules Packages for details on how to import rule packages.
To import a rule package template:
- In the Explorer Tree, select the Tenant tab.
- Click Import Rule Templates. A dialog box opens in which you select the .xml file to import.
Migration
Contents
Migration to 8.5.001 from 8.5.0
- Undeploy the 8.5.0 .war file from your application server.
- Deploy the 8.5.0001 .war file to your application server.
- Set the values of any of the new configuration options—see GRAT Configuration Options.
- Log into 8.5.0001 Genesys Rules Authoring Server.
Migration to 8.5.0/8.5.001
From 8.1.4
- Undeploy the 8.1.4 .war file from your application server.
- Deploy the 8.5.0 .war file to your application server.
- Log into 8.5.0 Genesys Rules Authoring Server.
From 8.1.3
- In 8.1.4, the repository database configuration was moved to a Database Access Point (DAP). Create and configure a DAP and add it as a connection to the GRAT application object. You will no longer be prompted for database configuration information during the installation process.
See the following procedures for details of how to create a DAP:
- Creating the Rules Repository Database using Configuration Server
- Creating the Rules Repository Database using Genesys Administrator
From 8.1.2 and 8.1.1
- From the 8.1.1 or 8.1.2 Genesys Rules Authoring Server:
- Click on each tenant and export the templates associated with that tenant as an XML file.
- Click on each rule package that you wish to migrate and export as an XML file.
- Create a new database for GRAT 8.5.0 (leaving the old one in place).
- Install 8.5.0 Genesys Rules System.
- Start 8.5.0 Genesys Rules Authoring Server. This creates the tables inside the new database.
- Log into 8.5.0 Genesys Rules Authoring Server.
- For each tenant, import the template XML file (from step 1a).
- For each tenant, and under each solution, click on New Rule Package and import the corresponding rule package XML file (click the Auto-save option).
- Redeploy each rule package to the corresponding 8.5.0 Genesys Rules Engine(s).
- Optionally, from the Genesys Rules Deployment Tool, you may import the templates from the 8.5.0 Genesys Rules Authoring Server.
See the GRAT online Help for explicit steps for importing and exporting templates, and importing and exporting rules packages.
Repository Performance Enhancement for Oracle 11 users
For Oracle users, a performance enhancement is available that is enabled only when you create a new database repository when either initially installing, or migrating to, 8.5.x. For a new installation with a new Oracle database repository, no additional steps are required. If you are migrating to GRS release 8.5.x from an earlier release, to take advantage of the enhancement, do the following:
- Click on each tenant and export the templates associated with that tenant as an XML file.
- Click on each rule package that you wish to migrate and export as an XML file.
- Create a new database for GRAT 8.5.x.
- Start 8.5.x Genesys Rules Authoring Server.
- With the enhancement, when GRAT initializes, it creates new database tables based on a new optimized schema, and database performance is improved.