AnsweredAssumed Answered

Issue with geoprocessing execution

Question asked by akshay.5.loya on Oct 26, 2017
Latest reply on Oct 30, 2017 by akshay.5.loya

Hi,

 

I've published 'Tabulate Area' geoprocessing tool and I'm consuming that in my web app builder application.  

Following the code:

 

var graphic = new Graphic(this.routeResult.features["0"].geometry, symbol);
var features = [];
features.push(graphic);
var inputFeatures = new esri.tasks.FeatureSet();
inputFeatures.features = features;
//inputFeatures.fields = this.routeResult.fields;
var params = { "in_zone_data": lulc, "zone_field": "Class_Names", "in_class_data": inputFeatures, "class_field": "RouteID", "processing_cell_size": 20 };
gp.submitJob(params, this.displayTrack);
When I run this I don't get any result or message. I checked in ArcGIS manager logs under info it gave me below error messages:
 
Error executing tool. Tabulate Area Job ID: j8822b5cab7714b4e9d90a6e6f01e3190
 
Error executing tool. Tabulate Area Job ID: j8822b5cab7714b4e9d90a6e6f01e3190 : ERROR 000735: Input raster or feature zone data: Value is required ERROR 000735: Zone field: Value is required ERROR 000859: The required parameter Input raster or feature zone data is empty, or is not the type of Composite Geodataset. ERROR 000859: The required parameter Zone field is empty, or is not the type of Field.
Error executing tool. Tabulate Area Job ID: j10c2e8adc70e46289b218fca918a0c84 : Invalid value for parameter Input raster or feature class data - Details : Invalid JSON for GPFeatureRecordSetLayer or GPRecordSet datatype
Can someone please help me with this?

Outcomes