Import Job Data (Workflow Manager)

Niveau de licence :De baseStandardAvancé

Récapitulatif

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.

Utilisation

Syntaxe

ImportJobData_wmx (Input_File, Input_Merge, {Input_DatabasePath}, Input_Repository_Name)
ParamètreExplicationType de données
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
(Facultatif)

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

Exemple de code

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)

Environnements

Cet outil n'utilise aucun environnement de géotraitement

Thèmes connexes

Informations de licence

ArcGIS for Desktop Basic : Annuler
ArcGIS for Desktop Standard : Requis Workflow Manager
ArcGIS for Desktop Advanced : Requis Workflow Manager
9/13/2013