Python scripts and Web Geoprocessing Service

127
1
11-23-2022 04:55 AM
adminCentlec
New Contributor II

I am trying to inform the user about what is going during a GP tool run in my web application. I have used AddMessage and other variations of this, but it is not working, the user is not informed. This is a critical final step in order to make the user aware of the results. 

 

Is there a different way through python to inform the user as the GP tool runs or when it is complete? As I said, all messages are ready, just that they are not appearing in the output pane of the geoprocessing window. 

0 Kudos
1 Reply
Bheist_esri
New Contributor
You'll have to use arcpy.AddMessage() in the script used to publish the GP Service and also set the Show Messages service property to return the level of messaging.
0 Kudos