Post Job Version (Workflow Manager)
Summary
Post the current version edits to the parent version of the job.
Usage
-
The Input Job ID must be for a job that currently exists in the repository. This job must have a data workspace, a parent version, and a version already associated with it.
Syntax
PostJobVersion_wmx (input_jobID, {input_databasePath})
Parameter | Explanation | Data 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