Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

In a noninteractive mode, you can export the activities using export.xml file. To export activities:

  1. Go to .../<AdeptiaInstallFolder>/AdeptiaServer/ServerKernel/MigrationUtility folder.
  2. Open connect_export.xml in the Text Editor and do the followings:
    1. Provide the location of Adeptia Connect Installation directory till Adeptia Server folder in the <SourceInstallDir> tag, for example, C:\Program Files\AdeptiaConnect 3.2\AdeptiaConnect-3.2\ConnectServer\AdeptiaServer.



    2. Provide the location where you want to create the export zip along with the file name in the <TargetZipLoc> tag, for example, C:/AdeptiaConnect/export.zip.



    3. Specify the activity you want to export. Type A to export all activities or a specific activity and PR to export based on the projects in the <ExportType> tag.



    4. Type the group name to which activity belongs in the <Groups> tag. In connect migration, we can export objects of 1 group at a time, so no option to define multiple groups.



      Attribute

      Definition

      nameEnter group name whose activities you want to export in the <Groups> tag, for example, Group_1. 
      activityRefIdSet the activity id of the group, for example, 001 for 'Group_1'.

      projectRefId

      Set the project id of the group, for example, 001 for 'Group_1'.

      If export type is A then only activityRefId will be consider.

      If Export type is PR then only projectRefId will be consider.

    5. Define the list of projects that you want to export. You can export the activities of more than one Project.

      Attribute

      Definition

      projectRefId

      Set the project id and this should match with projectRefId defined in the <Groups> tag while exporting the activities based on the projects.

      export

      Set the value yes or no to define either you want to export the activities of the specific project or not.

    6. Define the activity type that you want to export under <Activities> tag.

      You can define multiple activity types as you want. For reference, the list of all activity types is defined in the connect_export.xml file.

      If you want to export specific activity, add the name or activity id under the specified Activity type. The format of ActivityId is: <id>ActivityID</id>. The format of name is: <name>Name</name>.

      Here you also get the flexibility of exporting Transactions and Process flows along with their dependencies.




      Wildcard characters (“*” and “?”) are also supported in the name of the activity.

      “*” stands for zero or more characters and “?” stands for a single character. If an activity name under the <name> tag for a particular object contains either of the two characters then all the objects at the source end matching the <name> before “*”(and multiple characters after it) and all characters before “?” (and only one character after it) that belongs to the exported group will be migrated.

      For example,

      For exporting all File Source activities starting with “FS_” you need to specify the following:

      <activity type="FileSource">
      <name>FS_*</name>
      </activity>

      For exporting File Source activities with activity id = “010000036202128947281839100086” and “010000036202133067542452000039”, you need to specify the following:

      <activity type="File Source">
      <id>010000036202128947281839100086</id>
      <id>010000036202133067542452000039</id>
      </activity>
    7. If you want to export tables, do the followings,

      1. Define the relevant database under <Solution> tag and set the export attribute to "yes".
      2. Specify the tables you may want to export under <SolutionTables> tag.
        Following is the screenshot depicting how you can define the database and specify the tables to export them.
    8. If you want to export the files and folders present in AdeptiaServer directory, use the <Files> and <Folders> tags. See the following screenshot.

      You can define the list of folders or files that you want to export based on different attributes. These attributes help you include or exclude multiple files/sub-folders. All of these attributes support wildcards. You can also use multiple wildcards separated by commas (,). If no attributes are specified within the <Folder> tag, it exports the entire folder.

      Attribute

      Definition

      includeSubFolders

      To export the specified folder including all the sub-folders.

      excludeSubFolders

      To export the specified folder excluding the sub-folders.

      includeFiles

      To export including files.

      excludeFiles

      To export excluding files.

    9. Save the file.
  3. Open Command Prompt (Windows) or Terminal (Linux).
  4. Go to the directory .../<AdeptiaInstallFolder>/ AdeptiaServer/ServerKernel folder.
  5. Run the following command:

    For Windows:
    migrationutility.bat –export <path of the export.xml file>

    For Linux:
    ./migrationutility.sh –export <path of the export.xml file>

    where,
               <path of the export.xml file> is location of export.xml file.

    This exports your entities in noninteractive mode.

 

  • No labels