gp services with local execution gp useful arcmap different, the output file is generally only arcgis server output to the default output directory (arcgis server has this restriction, no matter how fit or write to output directory), the following description can output methods other than the output directory to the absolute path
First gp If a service model (moudle)
The following is a green raster file output, you can see the file path is% currentTime% .tif
% CurrentTime% is read as meaning the name of the parameter currentTime
currentTime blue ellipse parameters derived above, we can see that the value is an absolute path
Therefore, after the above configuration, the file directory of green for the final output file E: \ pm10Test \ 20180119444.tif
PS: blue parameters can be added so
After renaming can add
When you call gp service, absolute path as a parameter passed into
PS: Incoming absolute path may be a security issue with the argument
Rationale: The reason why such a big circle around, because if only to set the output file path, no matter how set arcgis server will still output to the output directory (arcgis server restrictions), but the use of parameters, the parameters in the path to break this limit