<?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 A geoprocessing service in asynchronous mode published from a Python toolbox does not return a Z value even when the ReturnZ option is set to True. in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/a-geoprocessing-service-in-asynchronous-mode/m-p/1692473#M43961</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;We are running ArcGIS Enterprise 11.5 on Windows server 2022 and are facing an issue with ArcGIS for server.&lt;BR /&gt;When trying to switch a geoprocessing service running mode from synchronous to asynchronous, we noticed that it is then no longer returning the Z coordinates even if parameter "returnZ" is set to True.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;We were able to make a minimal toolbox to reproduce the behavior. You can find it attached as "TBAsnycSyncReturnZ.zip" toolbox.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;When publishing it, configure it on &lt;STRONG&gt;synchronous&lt;/STRONG&gt;. Then go to the REST API and give the following point as input &lt;STRONG&gt;and &lt;/STRONG&gt;configure "ReturnZ" as "True":&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;```&lt;BR /&gt;"hasZ": true,&lt;BR /&gt;"geometryType": "esriGeometryPoint",&lt;BR /&gt;"spatialReference":&lt;BR /&gt;"wkid": 102100,&lt;BR /&gt;"features": [&lt;BR /&gt;"geometry":&lt;BR /&gt;"x": 672099.930584808,&lt;BR /&gt;"y": 5818689.708238841,&lt;BR /&gt;&lt;STRONG&gt;"z": 350.30719999999565&lt;/STRONG&gt;&lt;BR /&gt;],&lt;BR /&gt;"exceededTransferLimit": false&lt;BR /&gt;```&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;You should get a point with Z coordinate as output.&lt;BR /&gt;Now, configure the toolbox to "&lt;STRONG&gt;asynchronous&lt;/STRONG&gt;" and run once again the tool with the provided parameter &lt;STRONG&gt;and &lt;/STRONG&gt;configure "ReturnZ" as "True": you should get a point with no Z coordinate.&lt;BR /&gt;&lt;BR /&gt;Do you manage to reproduce ?&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;Thanks,&lt;/P&gt;</description>
    <pubDate>Wed, 25 Mar 2026 11:15:21 GMT</pubDate>
    <dc:creator>NicolasGIS</dc:creator>
    <dc:date>2026-03-25T11:15:21Z</dc:date>
    <item>
      <title>A geoprocessing service in asynchronous mode published from a Python toolbox does not return a Z value even when the ReturnZ option is set to True.</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/a-geoprocessing-service-in-asynchronous-mode/m-p/1692473#M43961</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;We are running ArcGIS Enterprise 11.5 on Windows server 2022 and are facing an issue with ArcGIS for server.&lt;BR /&gt;When trying to switch a geoprocessing service running mode from synchronous to asynchronous, we noticed that it is then no longer returning the Z coordinates even if parameter "returnZ" is set to True.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;We were able to make a minimal toolbox to reproduce the behavior. You can find it attached as "TBAsnycSyncReturnZ.zip" toolbox.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;When publishing it, configure it on &lt;STRONG&gt;synchronous&lt;/STRONG&gt;. Then go to the REST API and give the following point as input &lt;STRONG&gt;and &lt;/STRONG&gt;configure "ReturnZ" as "True":&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;```&lt;BR /&gt;"hasZ": true,&lt;BR /&gt;"geometryType": "esriGeometryPoint",&lt;BR /&gt;"spatialReference":&lt;BR /&gt;"wkid": 102100,&lt;BR /&gt;"features": [&lt;BR /&gt;"geometry":&lt;BR /&gt;"x": 672099.930584808,&lt;BR /&gt;"y": 5818689.708238841,&lt;BR /&gt;&lt;STRONG&gt;"z": 350.30719999999565&lt;/STRONG&gt;&lt;BR /&gt;],&lt;BR /&gt;"exceededTransferLimit": false&lt;BR /&gt;```&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;You should get a point with Z coordinate as output.&lt;BR /&gt;Now, configure the toolbox to "&lt;STRONG&gt;asynchronous&lt;/STRONG&gt;" and run once again the tool with the provided parameter &lt;STRONG&gt;and &lt;/STRONG&gt;configure "ReturnZ" as "True": you should get a point with no Z coordinate.&lt;BR /&gt;&lt;BR /&gt;Do you manage to reproduce ?&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Wed, 25 Mar 2026 11:15:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/a-geoprocessing-service-in-asynchronous-mode/m-p/1692473#M43961</guid>
      <dc:creator>NicolasGIS</dc:creator>
      <dc:date>2026-03-25T11:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: A geoprocessing service in asynchronous mode published from a Python toolbox does not return a Z value even when the ReturnZ option is set to True</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/a-geoprocessing-service-in-asynchronous-mode/m-p/1693657#M43994</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/408959"&gt;@NicolasGIS&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I think what you are trying to achieve is as designed&amp;nbsp;&lt;A href="https://support.esri.com/en-us/bug/a-geoprocessing-service-in-asynchronous-mode-published-bug-000182235" target="_blank"&gt;BUG-000182235 for ArcGIS GIS Server&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Let me know if thats not the same as what you are trying to achieve.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Glen&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2026 11:13:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/a-geoprocessing-service-in-asynchronous-mode/m-p/1693657#M43994</guid>
      <dc:creator>GlenterpriseUK</dc:creator>
      <dc:date>2026-03-31T11:13:28Z</dc:date>
    </item>
  </channel>
</rss>

