Import Job Data (Workflow Manager)

Summary

This tool allows you to import an existing Workflow Manager configuration into another repository. This tool is most useful for disconnected repository synchronization since it takes in a JTC connection and repository name.

Usage

Syntax

ImportJobData_wmx (Input_File, Input_Merge, {Input_DatabasePath}, Input_Repository_Name)
ParameterExplanationData Type
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 workflow manager repository should be combined instead of being overwritten with the contents of the new configuration file.

  • COMBINECombine the contents of the destination Workflow Manager database with the contents of the configuration file.
  • REPLACEReplace the entire contents of the Workflow Manager database with the contents of the configuration file.
Boolean
Input_DatabasePath
(Optional)

The Workflow Manager connection file that contains the connection information to the destination repository.

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.

String

Code Sample

ImportJobData example (stand-alone Python script)

Import Job Data.

# Import arcpy module
import arcpy

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

# Script arguments
Input_DatabasePath = arcpy.GetParameterAsText(0)
Input_Merge = arcpy.GetParameterAsText(1)
Input_File = arcpy.GetParameterAsText(2)
Input_Repository_Name = arcpy.GetParameterAsText(3)

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

Environments

This tool does not use any geoprocessing environments

Related Topics

Licensing Information

ArcView: No
ArcEditor: Requires Workflow Manager
ArcInfo: Requires Workflow Manager

9/28/2012