Select to view content in your preferred language

Geoprocessing Task Result GPRecordSet features array empty

2009
0
01-27-2014 07:10 AM
BrianDister
Emerging Contributor
In 10.1 I have developed a Geoprocessing Service using Model Builder that outputs a table as a GPRecordSet. It works fine on desktop. Publishing works, and I can pass input parameters w/o problem as user-defined values.

When I retrieve the results everything looks ok, the 'value' contains and lists the output 'fields' correctly, however the features array appears to be empty and it's length is reported as 0.
...
esriJobSucceeded
data type of paramResult = GPRecordSet
parameter name = DepthTable
features length = 0

I had earlier set the the model to return a feature class as a GPFeatureRecordSetLayer, which demonstrated the identical behavior where the returned result appeared fine, but the features array was empty. So it may be an issue creating the model or publishing the service.

Any suggestions on what is causing this error and how to proceed?
0 Kudos
0 Replies