Hello,
We are running ArcGIS Enterprise 11.5 on Windows server 2022 and are facing an issue with ArcGIS for server.
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.
We were able to make a minimal toolbox to reproduce the behavior. You can find it attached as "TBAsnycSyncReturnZ.zip" toolbox.
When publishing it, configure it on synchronous. Then go to the REST API and give the following point as input and configure "ReturnZ" as "True":
```
"hasZ": true,
"geometryType": "esriGeometryPoint",
"spatialReference":
"wkid": 102100,
"features": [
"geometry":
"x": 672099.930584808,
"y": 5818689.708238841,
"z": 350.30719999999565
],
"exceededTransferLimit": false
```
You should get a point with Z coordinate as output.
Now, configure the toolbox to "asynchronous" and run once again the tool with the provided parameter and configure "ReturnZ" as "True": you should get a point with no Z coordinate.
Do you manage to reproduce ?
Thanks,
Hi @NicolasGIS,
I think what you are trying to achieve is as designed BUG-000182235 for ArcGIS GIS Server
Let me know if thats not the same as what you are trying to achieve.
Regards,
Glen