I'm using the Extract Data Geoprocessing service at this link:
Extract Data Task (HomelandSecurity/Incident_Data_Extraction)
I've created a GeoprocessingTask and I've added the GeoprocessingParameters for "Layers_to_Clip" and "Feature_Format". I'm struggling with trying to determine what I need to provide for the "Area_of_Interest" parameter as I can get the geometry from my GraphicsOverlay, but I don't know how to turn the geometry into a GPFeatureRecordSetLayer as referred to in the service as this no longer exists to my knowledge in the newest version of the SDK. Any help would be appreciated.
Link to the code I'm referring to: https://paste.ofcode.org/uAnZfzTNUUcuMaCBYnLFS