Hello Dears,
I need to create FeatrueSet in runtime and pass this FeatureSet as argument to GeoProcessing Service.
I try this Code but I face error when executing Geoprocessing service
var features = [];
features.push(app.map.graphics.graphics[1]);
var fset = new FeatureSet();
fset.spatialReference = app.map.spatialReference;
fset.features = features;
fset.geometryType = app.map.graphics.graphics[1].geometry.type;