Hello my GIS colleagues,
I am having a problem with the Iterate Field Values tool within Model Builder.
What I am trying to do:
Iterate through a field within a feature class, and then Select By Attribute based on the unique value that the field iterator returns. So within my Markets layer, I have a field called "NAME" and I want my iterator to select each unique value under NAME and do a select by attribute (which I will later use to do a select by location on a points layer of my patients, but this is largely irrelevant to my problem). I am using an inline variable based on the value that the field iterator returns to do my select by attribute.
The problem:
Iterate Field Values returns a "1" for "Value", and the model only runs once (the iterator should have the model cycle at least 10 or so times for the 10 unique values in the field "NAME").
I suspect my problem is where I have the iterator setup in my model, basically, the iterator is not running *frist* and just using the default value of 1.
I have attached a screenshot of my model. I have seen this problem come up numerous times on geonet but there is no concrete solution listed. I KNOW others have had this problem. Thank you for your help!