ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

GIS in your enterprise

ArcGIS Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

ArcMap

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • Extensions

Post Job Version

  • Summary
  • Usage
  • Syntax
  • Code sample
  • Environments
  • Licensing information

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.

  • The tool does not support feature service data workspace in ArcGIS Desktop. When the input job has a feature service data workspace set as its data workspace, the tool fails with an error.

Syntax

arcpy.wmx.PostJobVersion(Input_JobID, {Input_DatabasePath})
ParameterExplanationData Type
Input_JobID

The ID for the job whose edits from the job's version are going to be posted to it's parent version.

String
Input_DatabasePath
(Optional)

The Workflow Manager (Classic) database connection file that contains the job information. If no connection file is specified, the current default Workflow Manager (Classic) database will be used.

File

Derived Output

NameExplanationData Type
Output_Status

The result of the post operation. Returns 0 on success.

Long

Code sample

PostJobVersion example (stand-alone 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\\wmx.jtc"

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

Environments

This tool does not use any geoprocessing environments.

Licensing information

  • Basic: No
  • Standard: Requires Workflow Manager
  • Advanced: Requires Workflow Manager

Related topics

  • An overview of the Workflow Manager toolbox

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2021 Esri. | Privacy | Legal