<?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 service not working? in ModelBuilder Questions</title>
    <link>https://community.esri.com/t5/modelbuilder-questions/geoprocessing-service-not-working/m-p/840513#M1743</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to create a tool in model builder that I will eventually publish to our ArcGIS server as a geoprocessing service, I then want to use the geoprocessing service in arcGIS online within one&amp;nbsp;of my web map apps&amp;nbsp;with one of my AGOL&amp;nbsp;hosted feature layers as the input.&amp;nbsp; The tool is fairly simple and&amp;nbsp;takes an input point layer and performs a number of&amp;nbsp;field calculations based on data in existing fields populating the results into&amp;nbsp;other&amp;nbsp;existing fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To&amp;nbsp;create the model&amp;nbsp;I have used a local&amp;nbsp;offline copy of the feature service layer as the input and set it as a parameter. When I publish the tool I have&amp;nbsp;selected 'user defined'&amp;nbsp;as the input so that the users of the geoprocessing widget in&amp;nbsp;my web app can select the&amp;nbsp;input layer from the&amp;nbsp;map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In&amp;nbsp;ArcGIS desktop the&amp;nbsp;offline model runs fine using the local&amp;nbsp;copy of the data&amp;nbsp;. It also runs fine if I&amp;nbsp;bring the actual&amp;nbsp;AGOL hosted feature layer into my mxd, create a local copy for editing and then point the input of the tool to this layer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The geoprocessing service publishes fine to arcgis server but the geoprocessing service doesn't work. I can bring it into&amp;nbsp;arcGIS online, I can also add it to a geoprocessing widget in my web app. But when I click the widget, select the input layer, then hit execute nothing happens.&amp;nbsp;I do sometimes get some dots on the screen indicating it might be doing something but these just disappear after a time and leaves a blank window. My fields don't get updated so i know it isn't working. I've also tried to use the geoprocessing service directly in arcmap and it doesn't work there either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone advise&amp;nbsp;what is wrong with my&amp;nbsp;model or how i need to set it up&amp;nbsp;so it&amp;nbsp;works as a&amp;nbsp;geoprocessing service in the way i need it to?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached my tool box but I unfortunately&amp;nbsp;can't provide the input dataset.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 May 2018 12:27:09 GMT</pubDate>
    <dc:creator>AmyKelly1</dc:creator>
    <dc:date>2018-05-17T12:27:09Z</dc:date>
    <item>
      <title>Geoprocessing service not working?</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/geoprocessing-service-not-working/m-p/840513#M1743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to create a tool in model builder that I will eventually publish to our ArcGIS server as a geoprocessing service, I then want to use the geoprocessing service in arcGIS online within one&amp;nbsp;of my web map apps&amp;nbsp;with one of my AGOL&amp;nbsp;hosted feature layers as the input.&amp;nbsp; The tool is fairly simple and&amp;nbsp;takes an input point layer and performs a number of&amp;nbsp;field calculations based on data in existing fields populating the results into&amp;nbsp;other&amp;nbsp;existing fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To&amp;nbsp;create the model&amp;nbsp;I have used a local&amp;nbsp;offline copy of the feature service layer as the input and set it as a parameter. When I publish the tool I have&amp;nbsp;selected 'user defined'&amp;nbsp;as the input so that the users of the geoprocessing widget in&amp;nbsp;my web app can select the&amp;nbsp;input layer from the&amp;nbsp;map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In&amp;nbsp;ArcGIS desktop the&amp;nbsp;offline model runs fine using the local&amp;nbsp;copy of the data&amp;nbsp;. It also runs fine if I&amp;nbsp;bring the actual&amp;nbsp;AGOL hosted feature layer into my mxd, create a local copy for editing and then point the input of the tool to this layer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The geoprocessing service publishes fine to arcgis server but the geoprocessing service doesn't work. I can bring it into&amp;nbsp;arcGIS online, I can also add it to a geoprocessing widget in my web app. But when I click the widget, select the input layer, then hit execute nothing happens.&amp;nbsp;I do sometimes get some dots on the screen indicating it might be doing something but these just disappear after a time and leaves a blank window. My fields don't get updated so i know it isn't working. I've also tried to use the geoprocessing service directly in arcmap and it doesn't work there either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone advise&amp;nbsp;what is wrong with my&amp;nbsp;model or how i need to set it up&amp;nbsp;so it&amp;nbsp;works as a&amp;nbsp;geoprocessing service in the way i need it to?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached my tool box but I unfortunately&amp;nbsp;can't provide the input dataset.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2018 12:27:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/geoprocessing-service-not-working/m-p/840513#M1743</guid>
      <dc:creator>AmyKelly1</dc:creator>
      <dc:date>2018-05-17T12:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: Geoprocessing service not working?</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/geoprocessing-service-not-working/m-p/840514#M1744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the same problem, you find a solution?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2018 16:18:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/geoprocessing-service-not-working/m-p/840514#M1744</guid>
      <dc:creator>deleted-user-YufVdzn2SiDo</dc:creator>
      <dc:date>2018-05-22T16:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: Geoprocessing service not working?</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/geoprocessing-service-not-working/m-p/840515#M1745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;It sounds like you are both trying to modify local data using a geoprocessing server -- which you cannot do. I think for this to work you need to pass data to the model, copy the layer (say, using the Copy Features tool), do your calculations, and then return a new result dataset (not a layer).&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2018 04:29:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/geoprocessing-service-not-working/m-p/840515#M1745</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2018-06-04T04:29:13Z</dc:date>
    </item>
  </channel>
</rss>

