Hello,
Im trying to publish a script tool to a geoprocessing service whose values are dependent on one another. I have a field that has "State" and another field that is dependent on it to choose a list of weather stations filtered by that state (values are filtered using the updateparameters validation function. . Is there a best practice way to do this? I have not been able to get the filtering value function to work within the geoprocessing widget in WAB.
Thanks!
If I follow your post correctly, I am not sure you can implement a value dependency like that in the same service. You'll have to send the first request with the state to get the weather station list and then process that result for the follow-on geoprocessing service. I could be wrong, but when the tool is converted to a geoprocessing service, it doesn't implement the class/ rules laid out in the validation class.