Return Distinct Values in Query Task is producing workflow error
When I set the Return Distinct Values to True in a Query Task, the workflow is producing an error that just says "One or more errors occured. Could not complete operation.". I am choosing to return only one field in the query which has several duplicate values for the Where clause. I need to return distinct values for the purpose of displaying them in the Display Result Picker activity. I am running ArcGIS Server version 10.1.1 so that shouldn't be the issue. I have a Search Table set up which will only display DISTINCT values from this field. Is there any way to use this Search Table in combination with the Query Task in order to force it to return distinct values?
-
I'm also not able to get this to work. Any tips?
0 -
If you are returning geometry, this will not work. Make sure that param is not set to True.
0 -
I can set "Return Geometry" False, run the workflow and it works. If I then change "Return Distinct Values" to True (with the above still False), the workflow fails with one of those unhandled exception errors. Ideas? 0 -
How is your Out Fields parameter defined?
Does it work in the AGS REST endpoint?0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
4 Kommentare