Hi,
unable to save the raster file after Geo processing task done.
i used below code used for this task.
// access raster or data file after task is done
void process(GeoprocessingResult geoprocessingResult) { final GeoprocessingRaster geoprocessingRaster = (GeoprocessingRaster) geoprocessingResult.getOutputs().get("Hotspot_Raster"); ListenableFuture<Void> fetchRasterFuture = geoprocessingRaster.fetchFileAsync("<fileNameWithPath>"); fetchRasterFuture.addDoneListener(() -> { // file now available at <fileNameWithPath> }); }
Above code working in version 100.1. But using same code in version 100.2 and 100.4. Raster is not getting saved(download) and their is no error/warning also.
kindly help me.