Importing/Exporting Objects

Objects can be imported and exported between different Automation Engine systems or between the individual clients of the same Automation Engine system. Object information is stored in an XML file and can be exchanged between the different platforms.

XML imports require the target Automation Engine system to have at least the same Service Pack version as the source system. The import function for XML data is downwards compatible, so importing objects from older into newer versions is supported. However, importing newer XML data schemas into older Automation Engine systems is not possible.

Size and Number of Objects

The maximum allowed size of the XML import file in kB is set on system client 0 in the MAX_IMPORT_SIZE key (for details see UC_SYSTEM_SETTINGS - System-Wide Settings). The hard limit is at max. 30720 KB; this will be enforced if the parameter is missing or a bigger value is set.

The administrator can also limit the maximum number of objects that should be exported at once. Use the MAX_EXPORT_COUNT key (also in the UC_SYSTEM_SETTINGS variable) for this purpose.

Importing/Exporting Objects vs the Transport Case

There are two basic differences between the Transport Case and the Import/Export function. As opposed to the Transport Case, when importing objects you can freely select the Automation Engine system folder in which the objects should be stored.

On the other hand, importing/exporting might cause a heavy workload for the Dialog Work Processes (DWP); as the Transport Case loads directly to the Database, this could be a better choice if you are planning to transfer large amounts of data.

Exporting Objects

You can export objects individually or you can select multiple objects and export them in bulk. You can also export folders and a combination of files and folders. In either case, one single XML file called export.xml is created that contains all the object-relevant data as well as the original folder structure. It is saved to your Downloads folder.

Some objects may reference other objects. This is the case of workflows, schedules, etc. When you export them, you can decide whether you want to include the referenced objects or not.

Exceptions:

Objects that are referenced in the following ways are not exported, even when you export referenced objects:

Exporting STORE Objects

Exporting STORE objects is slightly different because they contain text and/or binary files. When you export a STORE object, a zip file is created and saved to the Downloads folder. The ZIP file includes the following:

To Export Objects

  1. In the Explorer of the Process Assembly perspective, select the objects, folders or a combination of both.
  2. Right-click and select Import/Export. The Import/Export dialog is displayed:

    Click to Expand

  3. Select Export.
  4. The Settings: Export with references checkbox is only available if the object to be exported contains references to other objects.

    This is important if you are exporting Workflows, Schedules, PromptSets, etc.

    If you activate it, not only the selected object (that is, the workflow, Schedule, etc.) is exported but also all its children.

    Note that this option is not available for Client (CLNT), Server (SERV), Agent (HOST), Login (LOGIN), Folders (FOLD), and Store (STORE) objects.

  5. Click Export.

    Either a ZIP file called export.zip (if you are exporting one STORE object) or an XML file called export.xml is saved to the Downloads folder.

    Both the ZIP file and the XML file are ready for importing into another client or AE system.

  6. If this folder contain links to other objects that are outside the structure you are exporting, an additional dialog is displayed prompting you to confirm whether you want to export those objects or not.

Importing Objects

You can then import the XML or ZIP files into a different client or AE system. You can replace existing objects with the ones you are importing and keep folder links, if available. If you are importing folders with sub folders, their structure is kept.

The name of the XML file contained in the ZIP file must be export.xml when importing files from previous Automation Engine versions.

Importing Calendars

There are two thing you must take into account when importing calendars:

See Calendar Object (CALE).

To Import Objects

  1. Right-click anywhere on the location in the Process Assembly Explorer in which you want to import the objects and folders and select Import/Export. The Import/Export dialog is displayed.

    Click to Expand

  2. Click the upload icon and search for the file you want to import. Only ZIP and XML files can be selected for upload.
  3. Activate Settings: Replace existing objects if you want to overwrite existing objects with the ones you are importing.
  4. In case you replace the objects, activate Keep existing folder links if you want to preserve the object links as they were in the original system.

    This means that links to objects from the Favorites list, dashboards, etc. will work in the target system, you do not have to recreate them.

  5. Click Import.

    The objects are imported on the current location. If you are replacing existing ones, they are not created here though; the already available ones are replaced by the new ones.

    A message is displayed indicating which objects have been imported and/or replaced. Click Close to return to the Explorer.

Additional Information

Various tools are available that can be used to edit the generated XML files. If you use Notepad, take into account that it creates additional header information if exported objects include special characters (such as titles with German U umlauts) in order to display them. This changes the content of the XML. Thus, the Automation Engine cannot guarantee that importing will provide the results you expect.

Importing/Exporting is also possible using the following script elements: IMPORT and EXPORT.

Authorizations that are granted at object level (Authorization Page ) cannot be exported.

For security reasons, passwords cannot be exported either.

See also: