<?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 Extract Data Task as Geoprocessing Service error in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/extract-data-task-as-geoprocessing-service-error/m-p/747319#M24526</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I published the extract data task as a geoprocessing service (&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/tool-reference/server/extract-data-task.htm" title="https://pro.arcgis.com/en/pro-app/tool-reference/server/extract-data-task.htm"&gt;Extract Data Task (Server)—ArcGIS Pro | Documentation&lt;/A&gt;&amp;nbsp;).&amp;nbsp; This tool is designed to allow users to export shapefiles or fgdbs of data based on a user-defined area of interest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I encountered what I believe is a bug, however, in that the Layers to Clip Parameter, when switched to "user-defined" in the service definition, causes the tool to crash.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At first I was using the tool in a javascript app and couldn't figure out what the issue was because I was not receiving an error in the console.&amp;nbsp; However, when I then created a test app in web appbuilder to use the tool it said that the&amp;nbsp;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;GPFeatureRecordSetLayer [multi] was not available at this time or something to that affect.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;&lt;BR /&gt;I then published the tool with "hard-coded" layers to clip and a user-defined area of interest parameter and the tool works!.&amp;nbsp; It's a bit more cumbersome now, but at least it is something.&amp;nbsp; I can now publish several versions of the tool with constants for the layers-to-clip based on what app I'm using it for.&amp;nbsp; Not ideal, but a suitable workaround.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;Has anyone had luck publishing this tool as a geoprocess???&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Nov 2020 23:07:55 GMT</pubDate>
    <dc:creator>NickSwartz</dc:creator>
    <dc:date>2020-11-10T23:07:55Z</dc:date>
    <item>
      <title>Extract Data Task as Geoprocessing Service error</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/extract-data-task-as-geoprocessing-service-error/m-p/747319#M24526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I published the extract data task as a geoprocessing service (&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/tool-reference/server/extract-data-task.htm" title="https://pro.arcgis.com/en/pro-app/tool-reference/server/extract-data-task.htm"&gt;Extract Data Task (Server)—ArcGIS Pro | Documentation&lt;/A&gt;&amp;nbsp;).&amp;nbsp; This tool is designed to allow users to export shapefiles or fgdbs of data based on a user-defined area of interest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I encountered what I believe is a bug, however, in that the Layers to Clip Parameter, when switched to "user-defined" in the service definition, causes the tool to crash.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At first I was using the tool in a javascript app and couldn't figure out what the issue was because I was not receiving an error in the console.&amp;nbsp; However, when I then created a test app in web appbuilder to use the tool it said that the&amp;nbsp;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;GPFeatureRecordSetLayer [multi] was not available at this time or something to that affect.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;&lt;BR /&gt;I then published the tool with "hard-coded" layers to clip and a user-defined area of interest parameter and the tool works!.&amp;nbsp; It's a bit more cumbersome now, but at least it is something.&amp;nbsp; I can now publish several versions of the tool with constants for the layers-to-clip based on what app I'm using it for.&amp;nbsp; Not ideal, but a suitable workaround.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;Has anyone had luck publishing this tool as a geoprocess???&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Nov 2020 23:07:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/extract-data-task-as-geoprocessing-service-error/m-p/747319#M24526</guid>
      <dc:creator>NickSwartz</dc:creator>
      <dc:date>2020-11-10T23:07:55Z</dc:date>
    </item>
  </channel>
</rss>

