Staging

Introduction to staging in ConSol CM

Staging is the procedure which allows to transfer data between two ConSol CM systems. Data is exported from the source system and imported to the target system using a scene file.

Concepts, terms and definitions

Concept

Other terms

Definition

scene

scenario

ZIP file which contains ConSol CM data for staging

transfer key

 

Unique identifier of ConSol CM objects

workflow deployment

 

Process to put a new workflow version into production

Purpose and usage

Staging allows to transfer data between ConSol CM systems. A scene file is exported from the source system and imported to the target system. This file can include both configuration and runtime data.

The customization of ConSol CM for a specific customer usually involves several ConSol CM systems, e.g. a development system, a test / integration system and a production system.

Since ConSol CM works with transfer keys for all objects, it is highly recommended to transfer data by using a scene. Do not implement the same functionality in both systems, because the created objects will have different transfer keys which will result in duplicate objects in case a transfer is performed later on.

Available settings for exports

The scope of the export, i.e. which objects will be included in the scene file, is determined by the selections which you make on the export page. If you select an option which has dependencies to other options, these options are selected automatically, so that you can see which objects will be exported with your current selection.

The available export options are grouped in several sections.

Runtime data

The options in this section export runtime data, as actual cases, contacts and resources, and the related configuration.

Configuration data

The options in this section export configuration data.

Note regarding system properties

Only system properties created by the customer whose module starts with custom- are included in the scene export, see Importing and exporting system properties.

Workflows

When the export contains workflows, the options in the Workflows panel become active. There are two options:

System documentation

Contains one option to export the system documentation. This option is independent of all other options. The export file can be used to generate a system documentation in the Documentation Generator section of the Admin Tool.

Available settings for imports

The behavior of the import can be configured in the Extended import settings panel.

Usually, it is not required to change these settings.

The following settings are available:

Principles of configuration data import

If the option to delete all existing data is not selected, the data import is performed according to the following principles:

Principles of runtime data import

The runtime data import feature is designed for the use with test or development systems only. Large quantities of runtime data, e.g. from production systems, must be exported and imported using ETL tools.

If the option to delete all existing data is not selected, the data import is performed according to the following principle:

Database transactions

The import of the configuration data from a scene is separated into several database transactions. This helps to limit memory usage on the database server. However, in case of fatal errors during the import, this could result in an inconsistent system state.

The system property cmas-core-server, config.import.global.transaction.enabled can be used to configure the system in a way that all configuration items of a scene are encapsulated in one large database transaction. Therefore, when enabling this option, a fatal error during the import of a configuration item cannot leave the system in an inconsistent state. Instead, the whole encapsulating transaction will be rolled back putting the system configuration-wise into the state before the import. The transaction encapsulation does not include localizations or runtime data which are handled independently of this setting.

Enabling this transaction encapsulation may result in longer import execution times and higher memory requirements on the database server.

Basic tasks

Staging involves three tasks:

All export and import actions are logged in the file transfer.log.

Exporting a scene

Please proceed as follows to export a scene:

  1. Make the desired settings on the Export page, see Available settings for exports.
  2. Click the Export button. Once the export has finished, you can save the file using your browser.

Importing a scene

Please proceed as follows to import a scene:

  1. Click the Select file button on the Import page to select the scene file.
  2. If required, make the desired settings in the Extended import settings panel, see Available settings for imports.
  3. Click the Import button. A modal window which shows the import progress and the related log messages is opened. Once the import has finished, you can see the results in the Import results panel.

Advanced tasks

Transferring cases

If an error occurs during workflow deployment, you can transfer the cases that could not be transferred into the new workflow using the case transfer feature on the Import page.

  1. Click the Transfer cases button. A modal window with the transfer settings is opened.
  2. Select the queues for which the cases should be transferred.
  3. Select the transfer mode. There are two options:
    • Keep position in process
      The cases try to stay at their current position in the process:
      • If the activity and scope have not been changed, the case remains at its position.
      • If the activity is no longer present, the case goes as far back in the process as necessary to find the last consistent position in the process.
    • Restart process
      All cases go back to the start node of the workflow, i.e. they start the process again.
  4. Click Transfer cases. The transfer results are displayed in a modal window once the transfer has finished.