Post Job Version (Workflow Manager)

Summary

Post the current version edits to the parent version of the job.

Usage

Syntax

PostJobVersion_wmx (input_jobID, {input_databasePath})
ParameterExplanationData Type
input_jobID

The ID for the job's parent version retrieved.

String
input_databasePath
(Optional)

The Workflow Manager database connection file that contains the job information.

File

Code Sample

PostJobVersion example (stand-alone Python script)
# Import arcpy module
import arcpy

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

# Install location of ArcGIS Workflow Manager might vary.
arcpy.ImportToolbox(r"C:\Program Files\WMX\Toolboxes\Workflow Manager Tools.tbx")

# Local variables:
Input_JobID = "1"
Input_DatabasePath = "C:\\Program Files\\WMX\\Database\\your.jtc"

#Process: Post Job Version
arcpy.PostJobVersion_WMX(Input_JobID, Input_DatabasePath)

Environments

This tool does not use any geoprocessing environments

Related Topics

Licensing Information

ArcView: No
ArcEditor: Requires Workflow Manager
ArcInfo: Requires Workflow Manager

9/28/2012