Export Job Data (Workflow Manager)

Lizenzstufe:BasicStandardAdvanced

Zusammenfassung

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.

Verwendung

Syntax

ExportJobData_wmx ({Input_Repository_Name}, Input_Folder, {Input_DatabasePath}, {Input_Export_Since})
ParameterErläuterungDatentyp
Input_Repository_Name
(optional)

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
(optional)

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
(optional)

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

Codebeispiel

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)

Umgebung

Dieses Werkzeug verwendet keine Geoverarbeitungsumgebungen.

Verwandte Themen

Lizenzierungsinformationen

ArcGIS for Desktop Basic: Nein
ArcGIS for Desktop Standard: Erfordert Workflow Manager
ArcGIS for Desktop Advanced: Erfordert Workflow Manager
4/26/2014