Model builder iteration of mask in tool environment

Discussion created by peleg on Sep 13, 2013

I am trying to figure out if it is possible to use the feature or row iterators to iterate features as a mask in the raster sample tool.
The idea is to use the sample tool to extract values from 5 rasters to multiple tables based on features in a shapefile.
I set it up as an iterator connected to the sample tool as a geoprocessing environment mask.
The models runs the right number of iterations but I get the extract same table for all results. The number of lines in the table indicates that the tool is not iterating the features as masks but instead run the sample on all features. I am trying to avoid clipping the rasters to the features. 
Any suggestions? TIA