I have the ArcGIS desktop and ArcGIS server on the same machine. The input parameters of my GP service require the directory to TIFF files, e.g., C:\inputdata\image1.tif.
I can successfully run the gp service from ArcMap. When I gave the exactly same inputs, and run the gp service from the rest endpoint, it failed with the error "invalid input parameter". How could I appropriately set the directory as inputs when running gp service from rest endpoint?
Thanks
For the output location of a buffer tool I was working with I used
%scratchworkspace%\BufferedPoints.shp
Worked well and I was able to upload as a service and use it with the geoprocessing widget.
Yep, thanks!