input = arcpy.GetParameterAsText(0) #It should be working the same in a python toolbox or it should be something similar
if the script works : output = "job done" else : output = "job not completed" arcpy.SetParameterAsText(1, output)
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.