Workflow manager Get Job AOI

2183
10
06-10-2011 04:50 AM
HenkZwols
Occasional Contributor
Hello,

I created a model and included the tool Get Job AOI from the Workflow Manager Tool toolbox.
Then i created a script from the model:
# ---------------------------------------------------------------------------
# GetAOI.py
# Created on: 2011-06-10 14:43:14.00000
#   (generated by ArcGIS/ModelBuilder)
# Description: 
# ---------------------------------------------------------------------------

# Import arcpy module
import arcpy

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


# Local variables:
AOI = "AOI"

# Process: Get Job AOI
arcpy.GetJobAOI_WMX("114298", AOI, "")



The model runs without any problems, but the script gives me this error:
<type 'exceptions.AttributeError'>: 'module' object has no attribute 'GetJobAOI_WMX'

What am i missing?

Greeting, Henk
Tags (2)
0 Kudos
10 Replies
HaraldSchipper
New Contributor
Thanks Henk, for the question and Topeb for the answer, just what I needed.

Regards,

Harald
0 Kudos