Using Import/Export (Magic xpi 4.1)
When selecting the Export option, the Export Wizard dialog box opens with the following properties:
|
|
|
|
Export Template file
|
The export file default value is <Magic xpi Folder>\User Resources\Templates\<Project Name>_<Object>.tpl. The <Object> value can be a business process, flow or step. Click to select a different file.
|
|
Export Dependencies
|
Select whether the process will include dependant objects such as global and context variables, and Project Repositories used by the flow. The default value is unchecked. The list of dependencies that are a part of the export process will be specified in the next step of the wizard.
|
The Export option gives you the following buttons:
|
|
|
|
Next
|
Checks for errors and continues to the next dialog box in the wizard.
|
|
Cancel
|
Cancels the export process and exits the wizard.
|
After clicking Next, the Export Process Summary dialog box is opened. A process bar is displayed while the object is being exported. Once the export process has completed, the following text is displayed: "Export Process completed successfully!". The dialog box will list the exported objects and mark the Export Dependencies as Yes or No, depending on whether this check box was selected. If Yes, clicking the Details button displays a list of exported dependencies. Click Finish to close the wizard and exit the dialog box. You can only use the Cancel button while the export process is still running.
When selecting the Import option, the Import Wizard dialog box opens with the following properties:
|
|
|
|
Import Template file
|
Enter the template file name or click to select a template file.
|
Note:
|
The Template file will only be enabled if a project is not selected.
|
|
|
|
Import Project file
|
Enter the project file name or click to select a project file.
|
Note:
|
The Project file will only be enabled if a template is not selected.
|
|
|
|
BP/Flow/Step
|
The title of this object will reflect what type of object you have chosen. The default title is flow. Click to see the object selection.
|
|
Import Log file
|
Select the check box to enable the log file field import specification or navigation selection. If you leave the check box unselected or clear the field contents, the Import process will not be logged.
|
|
Import Dependencies
|
The default value is unchecked. The list of dependencies that are a part of the import process will be specified in the next step of the wizard.
|
The Import function gives you the following buttons:
|
|
|
|
Next
|
Checks for errors and continues to the next dialog box in the wizard.
|
|
Cancel
|
Cancels the import process and exits the wizard.
|
If your imported object has variables that already exist in the flow you are importing into, the Duplicate Variables Handling dialog box will appear. In this dialog box you can define how the import process should handle duplicate variables. This dialog box has the following properties:
|
|
|
|
Scope
|
This describes whether the variable is global, context, business process, or flow.
|
|
Use Existing
|
If you select this check box, the variable is not copied from the template, and the Data Mapper uses the existing variable. This check box is disabled if the attribute or the length of the variable is different.
|
|
Variable Name
|
This is the name of the variable. The field is read-only.
|
|
Create As
|
This field is enabled only when the Use Existing check box is cleared. It allows you to define a new variable name. If you do this, all references in the template to the original variable are converted to the new name. This includes expressions.
|
After clicking Next, the Import Process Summary dialog box is opened. A process bar is displayed while the object is being imported. The dialog box will list the imported objects and mark the Import Dependencies as Yes or No, depending on whether this box was checked. Click Import to continue executing the import process. You can click Back to make changes in the previous screen.
Clicking the Details button displays a list of imported dependencies. Click Finish to close the wizard and exit the dialog box. You can only use the Cancel button while the export process is still running.