I have a GP Service published to our dev environment. It consists of one python script that calls a bunch of other python scripts and the end result is a compiled, multi page PDF. The (unpublished) tool works perfect through python and the published tool works perfectly through ArcMap/Catalog and through the REST endpoint.
Ultimately what I want to do is use this GP Service through the Geoprocessing Widget in WAB. I've setup the tool in the dev environment, and published it to our web server. When I run the tool through the Web App I get this result (almost instantly):
I've checked the server logs (debug logging enable) - attached. Its clear the process isn't running. One thing i notice is that the scratch folder is not made in the job directory. It is there when the tool is run from the REST end point.
Does anyone have any idea on why this might be happening? I am prepared to write my only GP widget, but if it can work with the default one then that is desirable