Pass feature set to Geoprocessing Service

Discussion created by dztt on Dec 2, 2013
Latest reply on Dec 2, 2013 by zj_zou
Can someone please explain how to pass a feature set as an input parameter to a geoprocessing task?  I have a custom gp service with an input of type GPFeatureRecordSetLayer.  From what I understand I need to send an esri.tasks.FeatureSet.  My users are drawing a polygon and this should be the input to the gp service.  Everything I have tried results in the call  to the service failing.