Export Job Data (Workflow Manager)

Lizenzstufe:BasicStandardAdvanced

Zusammenfassung

This tool will export the database repository to a folder location. This tool requires that you have Workflow Manager server installed and configured across all participating nodes.

Verwendung

Syntax

ExportJobData_wmx (Input_Repository_Name, Input_Folder, Input_DatabasePath, Input_Export_Since, Output_Status)
ParameterErläuterungDatentyp
Input_Repository_Name

The name of the Workflow Manager repository that contains the configuration to be shared.

String
Input_Folder

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

Folder
Input_DatabasePath

The Workflow Manager connection file for the database to be exported. If no connection file is specified, the application will use the current default database.

File
Input_Export_Since

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 the time format for the current machine's locale.

Date
Output_Status

The export status will be 0 upon success or a negative number upon failure. The negative number will be useful to search for the reason why there is a failure.

Long

Codebeispiel

ExportJobData example (stand-alone Python script)

Export the contents of the database repository to a folder location.

# Import arcpy module
import arcpy

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

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

# Process: Export Job Data
arcpy.ExportJobData_WMX(Input_Repository_Name, Input_Folder, Input_DatabasePath, Input_Export_Since)

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
9/12/2013