get gp result from Arcgisjobs directory

Discussion created by Othelie on Jun 12, 2012
Latest reply on Jun 16, 2012 by Othelie

is it possible to get a result from a asychronus geoprocessing service from the Arcgisjobsdirectory? The gp service has a result map service where the model output is saved in %scratchworkspace%\scratch.gdb

Is there access to the job directory through an URL?

var layer= new esri.layers.FeatureLayer("http://arcserver/arcgisjobs/..../MapServer/0", {
    mode: esri.layers.FeatureLayer.MODE_ONDEMAND,
    outFields: ["Name", "Id"],
    id: "results"
Right now I have a geoprocessing service that displays the results as a GraphicsLayer. I need however to be able to show the properties of each feature of that layer, and selecting them on the map.
Any ideas?