<?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 Re: Returning a table from Geoprocessing Service in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/returning-a-table-from-geoprocessing-service/m-p/506129#M39816</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I think this is probably really simple to do but I cannot seem to figure out how to return a table from a Geoprocessing service.&amp;nbsp; My service creates a table and I want to return that to the caller.&amp;nbsp; Documentation indicates a table can be used as the return value and AGS will convert it to a FeatureSet to return.&amp;nbsp; I have tried numerous incarnations of SetParameter or SetParameterAsText with different values as the return parameter and keep getting&lt;BR /&gt;&lt;BR /&gt;RuntimeError&amp;gt;Object:Error Setting Parameter (or Parameter as Text)&lt;BR /&gt;&lt;BR /&gt;Can anyone post a sample of how I would return a table from my scratch workspace as the result of a GP Service&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;-Joe&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Joe.&amp;nbsp; Did you ever figure this out?&amp;nbsp; I'm having the same problem.&amp;nbsp; I have a script that creates a table as an output in the scratch workspace.&amp;nbsp; I know the script works correctly because I can see the output table in the jobs folder.&amp;nbsp; But the service will not return the table.&amp;nbsp; When it gets to the final step I get an error that says the job failed because of crash or termination of the server object.&amp;nbsp; I have tried setting an output parameter with a default value and GetParameterAsText, a derived table and SetParameterAsText, and a derived recordset with SetParameterAsText.&amp;nbsp; I even put my script in a model and published that.&amp;nbsp; Same result every time.&amp;nbsp; The geprocessing service examples are nice but can you actually get GP services to work with your own solution?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Dec 2012 14:38:11 GMT</pubDate>
    <dc:creator>NilsBabel</dc:creator>
    <dc:date>2012-12-18T14:38:11Z</dc:date>
    <item>
      <title>Returning a table from Geoprocessing Service</title>
      <link>https://community.esri.com/t5/python-questions/returning-a-table-from-geoprocessing-service/m-p/506127#M39814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think this is probably really simple to do but I cannot seem to figure out how to return a table from a Geoprocessing service.&amp;nbsp; My service creates a table and I want to return that to the caller.&amp;nbsp; Documentation indicates a table can be used as the return value and AGS will convert it to a FeatureSet to return.&amp;nbsp; I have tried numerous incarnations of SetParameter or SetParameterAsText with different values as the return parameter and keep getting&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;RuntimeError&amp;gt;Object:Error Setting Parameter (or Parameter as Text)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone post a sample of how I would return a table from my scratch workspace as the result of a GP Service&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Joe&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Jul 2012 04:43:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/returning-a-table-from-geoprocessing-service/m-p/506127#M39814</guid>
      <dc:creator>JoeHershman</dc:creator>
      <dc:date>2012-07-08T04:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: Returning a table from Geoprocessing Service</title>
      <link>https://community.esri.com/t5/python-questions/returning-a-table-from-geoprocessing-service/m-p/506128#M39815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;BUMP!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd really like a sample too!&amp;nbsp; I have a table in a fgdb that needs to be graphed on the client...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2012 21:00:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/returning-a-table-from-geoprocessing-service/m-p/506128#M39815</guid>
      <dc:creator>KevinBell</dc:creator>
      <dc:date>2012-07-11T21:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: Returning a table from Geoprocessing Service</title>
      <link>https://community.esri.com/t5/python-questions/returning-a-table-from-geoprocessing-service/m-p/506129#M39816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I think this is probably really simple to do but I cannot seem to figure out how to return a table from a Geoprocessing service.&amp;nbsp; My service creates a table and I want to return that to the caller.&amp;nbsp; Documentation indicates a table can be used as the return value and AGS will convert it to a FeatureSet to return.&amp;nbsp; I have tried numerous incarnations of SetParameter or SetParameterAsText with different values as the return parameter and keep getting&lt;BR /&gt;&lt;BR /&gt;RuntimeError&amp;gt;Object:Error Setting Parameter (or Parameter as Text)&lt;BR /&gt;&lt;BR /&gt;Can anyone post a sample of how I would return a table from my scratch workspace as the result of a GP Service&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;-Joe&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Joe.&amp;nbsp; Did you ever figure this out?&amp;nbsp; I'm having the same problem.&amp;nbsp; I have a script that creates a table as an output in the scratch workspace.&amp;nbsp; I know the script works correctly because I can see the output table in the jobs folder.&amp;nbsp; But the service will not return the table.&amp;nbsp; When it gets to the final step I get an error that says the job failed because of crash or termination of the server object.&amp;nbsp; I have tried setting an output parameter with a default value and GetParameterAsText, a derived table and SetParameterAsText, and a derived recordset with SetParameterAsText.&amp;nbsp; I even put my script in a model and published that.&amp;nbsp; Same result every time.&amp;nbsp; The geprocessing service examples are nice but can you actually get GP services to work with your own solution?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Dec 2012 14:38:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/returning-a-table-from-geoprocessing-service/m-p/506129#M39816</guid>
      <dc:creator>NilsBabel</dc:creator>
      <dc:date>2012-12-18T14:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: Returning a table from Geoprocessing Service</title>
      <link>https://community.esri.com/t5/python-questions/returning-a-table-from-geoprocessing-service/m-p/506130#M39817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I stumbled upon this thread and am trying to do the same thing, has anyone here figured this out?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2019 23:07:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/returning-a-table-from-geoprocessing-service/m-p/506130#M39817</guid>
      <dc:creator>GrantHaynes</dc:creator>
      <dc:date>2019-02-18T23:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: Returning a table from Geoprocessing Service</title>
      <link>https://community.esri.com/t5/python-questions/returning-a-table-from-geoprocessing-service/m-p/506131#M39818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am guessing I ended up using a non-python approach, but I can barely remember what I did Monday let alone in 2012 &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2019 00:09:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/returning-a-table-from-geoprocessing-service/m-p/506131#M39818</guid>
      <dc:creator>JoeHershman</dc:creator>
      <dc:date>2019-02-28T00:09:13Z</dc:date>
    </item>
    <item>
      <title>Re: Returning a table from Geoprocessing Service</title>
      <link>https://community.esri.com/t5/python-questions/returning-a-table-from-geoprocessing-service/m-p/506132#M39819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No worries.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2019 23:23:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/returning-a-table-from-geoprocessing-service/m-p/506132#M39819</guid>
      <dc:creator>GrantHaynes</dc:creator>
      <dc:date>2019-03-07T23:23:54Z</dc:date>
    </item>
  </channel>
</rss>

