I am using the ModelBuilder to run an iterative process using the "for" iterator. The entire process is about 7 steps that are iterated several times, depending on the input to the tool (to value, from value, By value). The final two steps involve adding a field and copying the result of a previous step into this field (so that the iterative process does not write over the previous results). The tool works fine except for the last iteration. Regardless of how many iterations it runs, in the last iteration is does everything except copy the field over to the new field. It does complete the step of adding a field, but the copying over of the values from the result field doesn't take place in the very last iteration (works fine for all other iterations).
Any idea why this would happen?
The field shows up with values "0". The exception is that if the last iteration happens at a value that is less than the maximum value (the "to value") then the iteration is fine: so if I use input like: from:1 to:103 by:10 then I will get a complete last cycle at 101. But if I define from:1, to:101 by:10. The field defined at iteration 101 is populated by the value "0".