Workflow manager Get Job AOI

Discussion created by hzwols on Jun 10, 2011
Latest reply on Sep 6, 2011 by snwbrdr

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

# Local variables:

# 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