Post Job Version (Workflow Manager)
Zusammenfassung
Post the current version edits to the parent version of the job.
Verwendung
-
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 | Erläuterung | Datentyp |
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 |
Codebeispiel
PostJobVersion example (stand-alone Python script)
In this example the edits made to a job version is getting posted to the default version for the specified job id.
# Import arcpy module
import arcpy
# Check out any necessary licenses
arcpy.CheckOutExtension("JTX")
# 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)
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