<?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 GP service does not work in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/gp-service-does-not-work/m-p/284031#M10864</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="text-align: left;"&gt;Hi all&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN lang="HE" style="font-family: 'Arial','sans-serif'; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;I would like to make a gp tool that return a layer that is a join between a layer and a table Below is a sample of one of my tries in python&lt;SPAN lang="HE" style="font-family: 'Arial','sans-serif'; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;The output parameter is define as derived&lt;/P&gt;&lt;P style="text-align: left;"&gt;The tool run in desktop and published but give error in server.&lt;/P&gt;&lt;P style="text-align: left;"&gt;I do not want the user to give output name so I must define the output as derived.&lt;/P&gt;&lt;P style="text-align: left;"&gt;Should I write my output to %scratchworkspace%?&lt;/P&gt;&lt;P style="text-align: left;"&gt;Do I have to create a real feature class?&lt;/P&gt;&lt;P style="text-align: left;"&gt;What is the right way to do it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;Thanks&lt;/P&gt;&lt;P style="text-align: left;"&gt;Mody&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN lang="HE" style="font-family: 'Arial','sans-serif'; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN lang="HE" style="font-family: 'Arial','sans-serif'; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;import arcpy&lt;/P&gt;&lt;P style="text-align: left;"&gt;tableName = arcpy.GetParameterAsText(0&lt;SPAN lang="HE" style="font-family: 'Arial','sans-serif'; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;layerName = arcpy.GetParameterAsText(1&lt;SPAN lang="HE" style="font-family: 'Arial','sans-serif'; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN lang="HE" style="font-family: 'Arial','sans-serif'; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN lang="HE" style="font-family: 'Arial','sans-serif'; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"&gt;# &lt;/SPAN&gt;Local variables&lt;SPAN lang="HE" style="font-family: 'Arial','sans-serif'; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;dbPath = r"C:\tmp\Mody.gdb&lt;SPAN lang="HE" style="font-family: 'Arial','sans-serif'; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;local_table = os.path.join(dbPath ,tableName&lt;SPAN lang="HE" style="font-family: 'Arial','sans-serif'; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;local_layer = os.path.join(dbPath ,layerName&lt;SPAN lang="HE" style="font-family: 'Arial','sans-serif'; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN lang="HE" style="font-family: 'Arial','sans-serif'; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;featureClassSelect = "Year = 2004&lt;SPAN style="font-family: Arial;"&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;arcpy.MakeFeatureLayer_management(local_layer,"t1",featureClassSelect&lt;SPAN lang="HE" style="font-family: 'Arial','sans-serif'; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;arcpy.AddJoin_management("t1", "ID", local_table, "ID&lt;SPAN lang="HE" style="font-family: 'Arial','sans-serif'; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"&gt;")&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN lang="HE" style="font-family: 'Arial','sans-serif'; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;arcpy.CopyFeatures_management("t1",r"outFCPersistent&lt;SPAN lang="HE" style="font-family: 'Arial','sans-serif'; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"&gt;")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;arcpy.Delete_management("t1&lt;SPAN lang="HE" style="font-family: 'Arial','sans-serif'; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"&gt;")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;arcpy.SetParameterAsText(2,r"outFCPersistent&lt;SPAN lang="HE" style="font-family: 'Arial','sans-serif'; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"&gt;")&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Nov 2015 07:21:30 GMT</pubDate>
    <dc:creator>ModyBuchbinder</dc:creator>
    <dc:date>2015-11-19T07:21:30Z</dc:date>
    <item>
      <title>GP service does not work</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/gp-service-does-not-work/m-p/284031#M10864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="text-align: left;"&gt;Hi all&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN lang="HE" style="font-family: 'Arial','sans-serif'; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;I would like to make a gp tool that return a layer that is a join between a layer and a table Below is a sample of one of my tries in python&lt;SPAN lang="HE" style="font-family: 'Arial','sans-serif'; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;The output parameter is define as derived&lt;/P&gt;&lt;P style="text-align: left;"&gt;The tool run in desktop and published but give error in server.&lt;/P&gt;&lt;P style="text-align: left;"&gt;I do not want the user to give output name so I must define the output as derived.&lt;/P&gt;&lt;P style="text-align: left;"&gt;Should I write my output to %scratchworkspace%?&lt;/P&gt;&lt;P style="text-align: left;"&gt;Do I have to create a real feature class?&lt;/P&gt;&lt;P style="text-align: left;"&gt;What is the right way to do it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;Thanks&lt;/P&gt;&lt;P style="text-align: left;"&gt;Mody&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN lang="HE" style="font-family: 'Arial','sans-serif'; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN lang="HE" style="font-family: 'Arial','sans-serif'; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;import arcpy&lt;/P&gt;&lt;P style="text-align: left;"&gt;tableName = arcpy.GetParameterAsText(0&lt;SPAN lang="HE" style="font-family: 'Arial','sans-serif'; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;layerName = arcpy.GetParameterAsText(1&lt;SPAN lang="HE" style="font-family: 'Arial','sans-serif'; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN lang="HE" style="font-family: 'Arial','sans-serif'; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN lang="HE" style="font-family: 'Arial','sans-serif'; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"&gt;# &lt;/SPAN&gt;Local variables&lt;SPAN lang="HE" style="font-family: 'Arial','sans-serif'; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;dbPath = r"C:\tmp\Mody.gdb&lt;SPAN lang="HE" style="font-family: 'Arial','sans-serif'; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;local_table = os.path.join(dbPath ,tableName&lt;SPAN lang="HE" style="font-family: 'Arial','sans-serif'; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;local_layer = os.path.join(dbPath ,layerName&lt;SPAN lang="HE" style="font-family: 'Arial','sans-serif'; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN lang="HE" style="font-family: 'Arial','sans-serif'; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;featureClassSelect = "Year = 2004&lt;SPAN style="font-family: Arial;"&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;arcpy.MakeFeatureLayer_management(local_layer,"t1",featureClassSelect&lt;SPAN lang="HE" style="font-family: 'Arial','sans-serif'; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;arcpy.AddJoin_management("t1", "ID", local_table, "ID&lt;SPAN lang="HE" style="font-family: 'Arial','sans-serif'; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"&gt;")&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN lang="HE" style="font-family: 'Arial','sans-serif'; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;arcpy.CopyFeatures_management("t1",r"outFCPersistent&lt;SPAN lang="HE" style="font-family: 'Arial','sans-serif'; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"&gt;")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;arcpy.Delete_management("t1&lt;SPAN lang="HE" style="font-family: 'Arial','sans-serif'; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"&gt;")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;arcpy.SetParameterAsText(2,r"outFCPersistent&lt;SPAN lang="HE" style="font-family: 'Arial','sans-serif'; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"&gt;")&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2015 07:21:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/gp-service-does-not-work/m-p/284031#M10864</guid>
      <dc:creator>ModyBuchbinder</dc:creator>
      <dc:date>2015-11-19T07:21:30Z</dc:date>
    </item>
    <item>
      <title>Re: GP service does not work</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/gp-service-does-not-work/m-p/284032#M10865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What errors do you get when publishing?&amp;nbsp; It will probably be best to create an "intermediate" feature class in your scratch workspace as you are doing with &lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;outFCPersistent&lt;/SPAN&gt;.&amp;nbsp; If the output is part of a Web Service that you are updating dynamically with this script, then you don't need to create a permanent feature class.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2015 07:46:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/gp-service-does-not-work/m-p/284032#M10865</guid>
      <dc:creator>FC_Basson</dc:creator>
      <dc:date>2015-11-19T07:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: GP service does not work</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/gp-service-does-not-work/m-p/284033#M10866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;No error in publish&lt;/P&gt;&lt;P&gt;Error: Invalid return value: %scratchworkspace%\outFCPersistent with running.&lt;/P&gt;&lt;P&gt;Each run should create its own results (no connection to other results) but I do not like the user to give it a name - it should just returned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2015 08:45:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/gp-service-does-not-work/m-p/284033#M10866</guid>
      <dc:creator>ModyBuchbinder</dc:creator>
      <dc:date>2015-11-19T08:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: GP service does not work</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/gp-service-does-not-work/m-p/284034#M10867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a GP service that does a similar thing with rasters, but I think the principle is the same. When saving, I include the full path, e.g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="python" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_1447925784973672 jive_text_macro" data-renderedposition="50_8_912_16" jivemacro_uid="_1447925784973672"&gt;&lt;P&gt;arcpy.CopyFeatures_management("t1", arcpy.env.scratchGDB + r"\outFCPersistent")&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or, even better, if you have imported the os module,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="python" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14479258454992425 jive_text_macro" data-renderedposition="129_8_912_16" jivemacro_uid="_14479258454992425"&gt;&lt;P&gt;arcpy.CopyFeatures_management("t1", os.path.join(arcpy.env.scratchGDB, "outFCPersistent"))&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Be careful with the scratch workspace, as the behaviour is different between desktop and server. On desktop, you must set the scratch workspace, but on server it is automatically created for each job. Trying to set it actually clears the value and causes a lot of problems.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2015 09:37:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/gp-service-does-not-work/m-p/284034#M10867</guid>
      <dc:creator>JonMorris2</dc:creator>
      <dc:date>2015-11-19T09:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: GP service does not work</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/gp-service-does-not-work/m-p/284035#M10868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh, and if you are returning an actual feature class, you'll need to use SetParameter for the outputs, not SetParameterAsText. I think it should work with just the feature class name as in your example.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2015 09:43:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/gp-service-does-not-work/m-p/284035#M10868</guid>
      <dc:creator>JonMorris2</dc:creator>
      <dc:date>2015-11-19T09:43:13Z</dc:date>
    </item>
    <item>
      <title>Re: GP service does not work</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/gp-service-does-not-work/m-p/284036#M10869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found that using arcpy.env.scratchGDB&amp;nbsp; is much better then the %scratchworkspace% that I use to use.&lt;/P&gt;&lt;P&gt;It is not replaced by anything when the tool is published.&lt;/P&gt;&lt;P&gt;Using SetParameter when your return value is not text might help too &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks all&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2015 05:52:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/gp-service-does-not-work/m-p/284036#M10869</guid>
      <dc:creator>ModyBuchbinder</dc:creator>
      <dc:date>2015-11-23T05:52:09Z</dc:date>
    </item>
  </channel>
</rss>

