Geoprocessing messages display
I am running a geoprocessing activity, which emits messages at different stages. How can I present these messages to users ?
Thanks,
Muhammad Almas
-
Hello Muhammad,
The Run Geoprocessing activity has a messages output which is of type esri.GPMessage[] (https://developers.arcgis.com/javascript/3/jsapi/gpmessage-amd.html). You could use a For Each activity to loop through the collection of messages and display them to the user. To the best of my knowledge, you can only present the messages after the Run Geoprocessing activity has completed.
Thanks, Stefan
0 -
Hi Stefan,
Thanks for your answer. That's also what I have figured that messages can be displayed only after geoprocessing tool has finished its work. However, in web app builder Geo-processing Widget displays messages as they are happening.
If you use a asynchronous geoprocessing activity, and as it is running in browser, if you check the network activity panel in developer tools for browser, it shows that it is fetching info from server every second or so.
This inability of showing GP messages for time consuming geoprocessing activity is not good. Can this be added as a feature request ?
Regards,
Muhammad Almas
0 -
Could you please add this feature to the Ideas section?
Unfortunately, this is a somewhat larger change to be able to expose the messages as they are returned from the server.
0 -
added.
0 -
Hi Stefan,
Has there been any work on this request ?
0 -
Hi Muhammad,
Sorry, no updates yet on this feature request.
Stefan
0 -
Hi Stefan,
Thanks for update. I was hoping for some solution by now. Anyways, Is there any equivalent of 'Parallel Activity' in Wrokflow 5 ? because that might solve my issue for the time being.
Also there are not 'Events' exposed by the 'Asynchronous Geoprocessing' activity. Will there be any change in that design ?
Thanks,
Muhammad Almas
0 -
There is no equivalent to Parallel in Workflow 5, please add an Idea if you are interested in this functionality.
Currently, events are only exposed by form elements in a Display Form. I'm not aware of any plans to expose activities.
0
Vous devez vous connecter pour laisser un commentaire.
Commentaires
8 commentaires