Get Job Parent Version (Workflow Manager)
サマリ
Gets the parent version of a job as an SDE connection file.
使用法
-
The Input Job ID must be for a job that currently exists in the repository. This job must have a data workspace already associated with it.
構文
GetJobParentVersion_wmx (Input_JobID, {Input_DatabasePath})
パラメータ | 説明 | データ タイプ |
Input_JobID |
The ID for the job's parent version to be retrieved. | String |
Input_DatabasePath (オプション) |
The Workflow Manager database connection file that contains the job information. | File |
コードのサンプル
GetJobParentVersion example stand-alone Python script
Retrieve the parent version of the selected job
# Import arcpy module
import arcpy
# Check out any necessary licenses
arcpy.CheckOutExtension("JTX")
#Script arguments
Input_JobID = arcpy.GetParameterAsText(0)
Input_DatabasePath = arcpy.GetParameterAsText(1)
# Process: Get Job Parent Version
arcpy.gp.GetJobParentVersion_WMX(Input_JobID, Input_DatabasePath)
環境
このツールはジオプロセシング環境を使用していません
関連トピック
ライセンス情報
ArcGIS for Desktop Basic: ×
ArcGIS for Desktop Standard: 次のものが必要 Workflow Manager
ArcGIS for Desktop Advanced: 次のものが必要 Workflow Manager
9/14/2013