Good afternoon
I am in the process of publishing my first ModelBuilder as a GPService and I do not understand very well how to write the path for in_memory intermediate results
Thanks
If you're using ArcGIS Pro, check out Write geoprocessing output to memory. There is a note that in_memory is legacy for ArcMap.