Export Job Data (Workflow Manager)

Niveau de licence :BasicStandardAdvanced

Récapitulatif

This tool will export the workflow manager repository to a .jxl file in the specified folder location. The .jxl file will contain all the configuration information for the repository as well as information about all the jobs. The .jxl file can be imported into another Workflow Manager repository using the Import Job Data tool.

Utilisation

Syntaxe

ExportJobData_wmx ({Input_Repository_Name}, Input_Folder, {Input_DatabasePath}, {Input_Export_Since})
ParamètreExplicationType de données
Input_Repository_Name
(Facultatif)

The name of the Workflow Manager repository that contains the configuration to be shared. If repository name is not specified, the current default workflow manager repository name is used.

String
Input_Folder

The location of the JXL file output from the tool. This folder can be on a local or a network drive.

Folder
Input_DatabasePath
(Facultatif)

The Workflow Manager connection file for the database to be exported. If no connection file is specified, the current default workflow manager database is used.

File
Input_Export_Since
(Facultatif)

By specifying a date, the JXL exported will only contain changes that occurred between the current date and the specified time. The input should be in the time format for the current machine's locale.

Date

Exemple de code

ExportJobData example 1 (stand-alone Python script)

Export the configuration, with job information, of the specified workflow manager repository to a folder location. The export would be the configuration as of December 9, 2010.

# Import arcpy module
import arcpy

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

# Local variables:
Input_Folder = "C:\\Temp"
Input_DatabasePath = "C:\\Program Files\\WMX\\Database\\wmx.jtc"
Input_Repository_Name = "Redlands_Repository"
Input_Export_Since = "12/09/2010 2:14:30 PM"

# Process: Export Job Data
arcpy.ExportJobData_WMX(Input_Folder, Input_DatabasePath, Input_Repository_Name, Input_Export_Since)
ExportJobData example 2 (stand-alone Python script)

Export the configuration, with job information, of the default workflow manager repository to a folder location.

# Import arcpy module
import arcpy

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

# Local variables:
Input_Folder = "C:\\Temp"

# Process: Export Job Data
arcpy.ExportJobData_WMX(Input_Folder)

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
4/26/2014