<?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 Model works until published as a GP Service in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/model-works-until-published-as-a-gp-service/m-p/636263#M24413</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;I posted this question a couple weeks ago in the general form and haven't received any replies so I thought I would repost to a more specific audience, I would appreciate any help I can get. I made a very simple model in Model Builder to write some basic summary statistics to an excel file that can be downloaded via a web application (see attached flow chart). The model runs fine as either a model or an exported python script.&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;A href="/legacyfs/online/27480_Agreement Status Model.PNG"&gt;&lt;IMG alt="Agreement Status Model.PNG" class="jive-image image-2" height="528" src="/legacyfs/online/29901_Agreement Status Model.PNG" style="margin: 10px 10px 10px 0px; border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit; height: 528px; width: 876.500994035785px;" width="877" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;I published this model as a GP service because I would like to connect it to a geoprocessing widget that runs the model and automatically downloads the spreadsheet with a click of a button rather than it's current two step process (e.g. run script then click hyperlink in app for download). Everytime I run the GP service it completes "successfully" without actually doing anything. See results log below.&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;A href="/legacyfs/online/27481_Agreement Status Model Error.PNG"&gt;&lt;IMG alt="Agreement Status Model Error.PNG" class="jive-image image-3" height="293" src="/legacyfs/online/29902_Agreement Status Model Error.PNG" style="margin: 10px 10px 10px 0; border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;" width="458" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;All read/write locations are (1) referenced by UNC path and (2) are registered data stores with the GIS Server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;I realize that I can simply run the script on a task scheduler to keep the spreadsheet current and will if need be but I'd like to figure out why this isn't working and offer users the ability to access the latest and greatest on demand. Any help is much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;James Kellough&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Nov 2014 14:39:45 GMT</pubDate>
    <dc:creator>JamesKellough</dc:creator>
    <dc:date>2014-11-14T14:39:45Z</dc:date>
    <item>
      <title>Model works until published as a GP Service</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/model-works-until-published-as-a-gp-service/m-p/636263#M24413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;I posted this question a couple weeks ago in the general form and haven't received any replies so I thought I would repost to a more specific audience, I would appreciate any help I can get. I made a very simple model in Model Builder to write some basic summary statistics to an excel file that can be downloaded via a web application (see attached flow chart). The model runs fine as either a model or an exported python script.&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;A href="/legacyfs/online/27480_Agreement Status Model.PNG"&gt;&lt;IMG alt="Agreement Status Model.PNG" class="jive-image image-2" height="528" src="/legacyfs/online/29901_Agreement Status Model.PNG" style="margin: 10px 10px 10px 0px; border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit; height: 528px; width: 876.500994035785px;" width="877" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;I published this model as a GP service because I would like to connect it to a geoprocessing widget that runs the model and automatically downloads the spreadsheet with a click of a button rather than it's current two step process (e.g. run script then click hyperlink in app for download). Everytime I run the GP service it completes "successfully" without actually doing anything. See results log below.&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;A href="/legacyfs/online/27481_Agreement Status Model Error.PNG"&gt;&lt;IMG alt="Agreement Status Model Error.PNG" class="jive-image image-3" height="293" src="/legacyfs/online/29902_Agreement Status Model Error.PNG" style="margin: 10px 10px 10px 0; border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;" width="458" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;All read/write locations are (1) referenced by UNC path and (2) are registered data stores with the GIS Server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;I realize that I can simply run the script on a task scheduler to keep the spreadsheet current and will if need be but I'd like to figure out why this isn't working and offer users the ability to access the latest and greatest on demand. Any help is much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;James Kellough&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2014 14:39:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/model-works-until-published-as-a-gp-service/m-p/636263#M24413</guid>
      <dc:creator>JamesKellough</dc:creator>
      <dc:date>2014-11-14T14:39:45Z</dc:date>
    </item>
  </channel>
</rss>

