court_moe

Automating Create Job tool

Discussion created by court_moe on Dec 17, 2013
Latest reply on Mar 15, 2014 by bdemers-esristaff
Hi -
I've written a script that automates the Create Job tool from the Workflow Manager Administration Utilities toolbox (downloadable from ArcGIS Resources: http://www.arcgis.com/home/item.html?id=387ce7914cde4744b549b934959a0b5f).  It simply imports the toolbox, and sends parameters to the CreateJob tool.

This script is started from Windows Task Scheduler, and works in 10.0.  The toolbox is not available in 10.1 version, however, we have recompiled it against the 10.1 library and the tools (when run in ArcCatalog) work fine.  The script also works when running within ArcCatalog.  However, running the script through the task scheduler (or command prompt), I receive:

ERROR: Failed to execute. Parameters are not valid.
ERROR 000584: Implementation of this Tool's Validate is invalid.

Has anyone else successfully leveraged the Create Job tool with a python script and task scheduler in 10.1?

Outcomes