Get Job Data Workspace (Workflow Manager)
Summary
Gets the job data workspace connection as an SDE connection file. This output can be used to perform more analysis in a geoprocessing model.
Usage
-
The Input Job ID must be for a job that currently exists in the repository.
Syntax
GetJobDataWorkspace_wmx (Input_JobID, {Input_DatabasePath}, {Input_SDEFileLocation})
Parameter | Explanation | Data Type |
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 |
Code Sample
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)
Environments
This tool does not use any geoprocessing environments
Related Topics
Licensing Information
ArcGIS for Desktop Basic: No
ArcGIS for Desktop Standard: Requires Workflow Manager
ArcGIS for Desktop Advanced: Requires Workflow Manager
10/25/2012