<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Model builder iterator bug? in ModelBuilder Questions</title>
    <link>https://community.esri.com/t5/modelbuilder-questions/model-builder-iterator-bug/m-p/779823#M2586</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="link-titled" href="http://support.esri.com/bugs/nimbus/TklNMTAzNzQw" title="http://support.esri.com/bugs/nimbus/TklNMTAzNzQw"&gt;NIM103740: When a model with an iterator is run from within Mod..&lt;/A&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;says it was fixed "in the next release" which would be 10.3&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 29 Apr 2017 04:15:22 GMT</pubDate>
    <dc:creator>curtvprice</dc:creator>
    <dc:date>2017-04-29T04:15:22Z</dc:date>
    <item>
      <title>Model builder iterator bug?</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/model-builder-iterator-bug/m-p/779820#M2583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: 1em; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt;I have come across an issue when using the "For" iterator. I want to create a series of rasters using the "Constant Raster" tool. The model works as expected when run from within model builder, but when run as a model tool (both with and without parameters for the For variables) it runs the first two iterations, then overwrote the first one for the remaining iterations.&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt;So, with the increment set to 5, the starting timestep as 5 and the final as 20 I would expect to get 4 output layers "Const_5yr", "Const_10yr", "Const_15yr", "Const_20yr". When run from within the model builder, I get what is expected. When run as a stand alone tool, I get "Const_5yr" and "Const_10yr", but "Const_5yr" has the value expected for "Const_20yr" (and from the dialogue in the results window I can see that "Const_5yr" is being overwritten each time).&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt;To add even more confusion, when I add the iterator model to another model, it works as expected when run as a tool, as well as within model builder.&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt;&lt;SPAN style="line-height: 1.5;"&gt;Can anyone shed any light on this?&amp;nbsp; It is similar to an issue highlighted here: &lt;A href="http://gis.stackexchange.com/questions/121653/does-modelbuilder-have-iterate-field-values-bug-when-model-run-without-being-in/126371#126371" title="http://gis.stackexchange.com/questions/121653/does-modelbuilder-have-iterate-field-values-bug-when-model-run-without-being-in/126371#126371"&gt;arcgis desktop - Does ModelBuilder have Iterate Field Values bug when model run without being in Edit mode? - Geographic…&lt;/A&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt;&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt;&lt;SPAN style="line-height: 1.5;"&gt;This is the model builder screen:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt;&lt;SPAN style="line-height: 1.5;"&gt;&lt;IMG alt="SE1-min.jpg" class="jive-image image-1" src="https://community.esri.com/legacyfs/online/39825_SE1-min.jpg" style="width: 620px; height: 225px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Dec 2014 12:03:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/model-builder-iterator-bug/m-p/779820#M2583</guid>
      <dc:creator>KateParks1</dc:creator>
      <dc:date>2014-12-12T12:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: Model builder iterator bug?</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/model-builder-iterator-bug/m-p/779821#M2584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seems to relate to these bugs:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;NIM-103740 - When a model with an iterator is run from within ModelBuilder, it completes correctly, but overwrites the outputs when run as a tool;&lt;/LI&gt;&lt;LI&gt;NIM-098729 - In ArcGIS for Desktop 10.2.1, when running a model with the Iterate Feature tool, an incorrect number of outputs are generated only when running the model as a tool.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks to GISGe at StackExchange for the answer!&lt;/P&gt;&lt;P&gt;&lt;A href="http://gis.stackexchange.com/questions/126388/is-there-a-bug-with-the-for-iterator-in-model-builder?noredirect=1#comment181046_126388" title="http://gis.stackexchange.com/questions/126388/is-there-a-bug-with-the-for-iterator-in-model-builder?noredirect=1#comment181046_126388"&gt;arcgis desktop - Is there a bug with the "For" iterator in model builder? - Geographic Information Systems Stack Exchang…&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2014 09:55:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/model-builder-iterator-bug/m-p/779821#M2584</guid>
      <dc:creator>KateParks1</dc:creator>
      <dc:date>2014-12-15T09:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: Model builder iterator bug?</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/model-builder-iterator-bug/m-p/779822#M2585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kate,&lt;/P&gt;&lt;P&gt;Did this ever resolve with a software update to 10.3?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 18:14:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/model-builder-iterator-bug/m-p/779822#M2585</guid>
      <dc:creator>DavidRonneberg</dc:creator>
      <dc:date>2015-03-16T18:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: Model builder iterator bug?</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/model-builder-iterator-bug/m-p/779823#M2586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="link-titled" href="http://support.esri.com/bugs/nimbus/TklNMTAzNzQw" title="http://support.esri.com/bugs/nimbus/TklNMTAzNzQw"&gt;NIM103740: When a model with an iterator is run from within Mod..&lt;/A&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;says it was fixed "in the next release" which would be 10.3&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Apr 2017 04:15:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/model-builder-iterator-bug/m-p/779823#M2586</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2017-04-29T04:15:22Z</dc:date>
    </item>
  </channel>
</rss>

