<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Geoprocessing Task Result GPRecordSet features array empty in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geoprocessing-task-result-gprecordset-features/m-p/257055#M23861</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;esriJobSucceeded&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;data type of paramResult = GPRecordSet&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;parameter name = DepthTable&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;features length = 0&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any suggestions on what is causing this error and how to proceed?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Jan 2014 15:10:39 GMT</pubDate>
    <dc:creator>BrianDister</dc:creator>
    <dc:date>2014-01-27T15:10:39Z</dc:date>
    <item>
      <title>Geoprocessing Task Result GPRecordSet features array empty</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geoprocessing-task-result-gprecordset-features/m-p/257055#M23861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;esriJobSucceeded&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;data type of paramResult = GPRecordSet&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;parameter name = DepthTable&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;features length = 0&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any suggestions on what is causing this error and how to proceed?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jan 2014 15:10:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geoprocessing-task-result-gprecordset-features/m-p/257055#M23861</guid>
      <dc:creator>BrianDister</dc:creator>
      <dc:date>2014-01-27T15:10:39Z</dc:date>
    </item>
  </channel>
</rss>

