Import

Introduction to imports in ConSol CM

Imports are the second step of the staging procedure to 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

On the Import page, you can import scene files created on the Staging export or Custom export pages. Depending on the export settings, the files can include different types of configuration and runtime data.

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

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:

Note about cluster installations

The ConSol CM data directory (export option Skin files and web resources) is only updated on the node on which you perform the import. The folders design and resources of the data directory are not synchronized between the different nodes.

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.

Tasks

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.

    If the import requires a case transfer, you can check the status on the Workflows page.

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.