Geoprocessing Widget "hangs" if nothing is selected before hitting "Execute" button.
Sorry for cross-post, I'm not getting any response in the other forum https://community.esri.com/thread/183807-gp-widget-hangs
The current implementation is actually working just fine! However, I am not sure where to look or if it's possible to make an adjustment in the GP widget itself to help alleviate this problem. If the user doesn't select any features before hitting "Execute" on the widget, it seems to become unresponsive, however it does finally clear itself and returns to normal after a couple of minutes.
This behavior will confuse users who will be very click-happy and exclaim the application is broken. I am hoping that there is a simple tweak I can apply to the widget itself to account for nothing being selected and perform a quick exit out of process.
This is the standard Geoprocessing widget that acquires a Feature Set (the selection) and uses that as an input parameter.