Import Job Data (Workflow Manager)

ライセンス レベル:BasicStandardAdvanced

サマリ

This tool allows you to import Workflow Manager configuration and job information found in a repository into a destination repository. This tool is most useful for disconnected repository replica creation and change synchronization.

使用法

構文

ImportJobData_wmx (Input_File, Input_Merge, {Input_DatabasePath}, {Input_Repository_Name})
パラメータ説明データ タイプ
Input_File

The JXL file that contains all the jobs and configuration elements generated using the Export Job Data tool.

File
Input_Merge

Choose whether contents of the destination workflow manager repository should be combined instead of being overwritten with the contents of the input configuration file.

  • COMBINECombine the contents of the destination Workflow Manager database with the contents of the input configuration file.
  • REPLACEReplace the entire contents of the destination Workflow Manager database with the contents of the input configuration file.
Boolean
Input_DatabasePath
(オプション)

The Workflow Manager connection file that contains the connection information to the destination repository. If no connection file is specified, the current default workflow manager database will be used.

File
Input_Repository_Name
(オプション)

The name of the repository as specified in the Workflow Manager system settings. This is a name that should be unique with all the repositories in your cluster. If the repository name is not specified, the current default workflow manager repository name will be used.

String

コードのサンプル

ImportJobData example 1 (stand-alone Python script)

Import the configuration, with job information, of a workflow manager repository, replacing the existing contents of the repository.

# Import arcpy module
import arcpy

# Check out any necessary licenses
arcpy.CheckOutExtension("JTX")

# Script arguments
Input_File = "C:\\Temp\\WMXRepository.jxl"
Input_Merge = "REPLACE"
Input_DatabasePath = "C:\\Program Files\\WMX\\Database\\wmx.jtc"
Input_Repository_Name = "WMXRepository"

# Process: Import Job Data
arcpy.ImportJobData_WMX(Input_File, Input_Merge, Input_DatabasePath, Input_Repository_Name)
ImportJobData example 2 (stand-alone Python script)

Import the configuration, with job information, of a workflow manager repository, merging the contents of the .jxl file with the existing contents of the repository.

# Import arcpy module
import arcpy

# Check out any necessary licenses
arcpy.CheckOutExtension("JTX")

# Script arguments
Input_File = "C:\\Temp\\WMXRepository.jxl"
Input_Merge = "COMBINE"
Input_DatabasePath = "C:\\Program Files\\WMX\\Database\\wmx.jtc"
Input_Repository_Name = "WMXRepository"

# Process: Import Job Data
arcpy.ImportJobData_WMX(Input_File, Input_Merge, Input_DatabasePath, Input_Repository_Name)

環境

このツールはジオプロセシング環境を使用していません

関連トピック

ライセンス情報

ArcGIS for Desktop Basic: ×
ArcGIS for Desktop Standard: 次のものが必要 Workflow Manager
ArcGIS for Desktop Advanced: 次のものが必要 Workflow Manager
4/26/2014