Get Job Data Workspace (Workflow Manager)

Lizenzstufe:BasicStandardAdvanced

Zusammenfassung

Gets the job data workspace connection as an SDE connection file. This output can be used to perform more analysis in a geoprocessing model.

Verwendung

Syntax

GetJobDataWorkspace_wmx (Input_JobID, {Input_DatabasePath}, {Input_SDEFileLocation})
ParameterErläuterungDatentyp
Input_JobID

The ID for the job's data workspace connection to be retrieved.

String
Input_DatabasePath
(optional)

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

File
Input_SDEFileLocation
(optional)

The job's data workspace connection file will be written to the specified folder.

Folder

Codebeispiel

GetJobDataWorkspace example stand-alone Python script
# Import arcpy module
import arcpy

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

# Script arguments
Input_JobID = arcpy.GetParameterAsText(0)
Input_SDEFileLocation = arcpy.GetParameterAsText(1)
Input_DatabasePath = arcpy.GetParameterAsText(2)

# Local variables:
Output_JobDataWorkspace = Input_JobID

# Process: Get Job Data Workspace
arcpy.GetJobDataWorkspace_WMX(Input_JobID, Input_DatabasePath,  Input_SDEFileLocation)

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