Export Job Data (Workflow Manager)

License Level:BasicStandardAdvanced

Summary

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.

Usage

Syntax

ExportJobData_wmx ({Input_Repository_Name}, Input_Folder, {Input_DatabasePath}, {Input_Export_Since})
ParameterExplanationData Type
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

Code Sample

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)

Environments

This tool does not use any geoprocessing environments

Related Topics

Licensing Information

ArcGIS for Desktop Basic: No
ArcGIS for Desktop Standard: Requires Workflow Manager
ArcGIS for Desktop Advanced: Requires Workflow Manager
3/4/2014