AnsweredAssumed Answered

Detect output of a tool in a Geoprocessing workflow

Question asked by alextaochen on Feb 21, 2012
Latest reply on Sep 12, 2012 by ehm119
Hi all,

I have a question regarding detecting output of a tool in geoprocessing.

I created a python script and added it as a tool in Model Builder as part of a geoprocesing workflow. The tool is very simple, and it takes a series of string arguments and updates a database table. Obviously there is no output generated from the tool. I need to detect if it runs successfully or raises an error during database updating.

Would arcpy.addError() help? Any other workaround?

Thanks for your help in advance!

Alex

Outcomes