<?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 with Iterator, runs the whole model many times in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/model-builder-with-iterator-runs-the-whole-model/m-p/1199991#M26417</link>
    <description>&lt;P&gt;Yes.&amp;nbsp; If you include an iterator in any part of your model it will run all of the tools/processes in the model every time through the iterator.&amp;nbsp; The solution to this is breaking the one model into multiple submodels and calling the submodels that contains the iterator from the "Main" model.&lt;/P&gt;&lt;P&gt;Look for "Advanced use of model iterators" here:&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/2.9/help/analysis/geoprocessing/modelbuilder/add-a-submodel-to-a-model.htm" target="_blank" rel="noopener"&gt;Add a submodel to a model—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 05 Aug 2022 18:40:07 GMT</pubDate>
    <dc:creator>KimberlyGarbade</dc:creator>
    <dc:date>2022-08-05T18:40:07Z</dc:date>
    <item>
      <title>Model Builder with Iterator, runs the whole model many times</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/model-builder-with-iterator-runs-the-whole-model/m-p/1199989#M26416</link>
      <description>&lt;P&gt;Good afternoon everyone,&lt;/P&gt;&lt;P&gt;We want to select all the points and lines inside a polygon. For example selecting all pump stations inside a Municipality.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When running an Iterator in ModelBulder, does it run all&amp;nbsp; the model for each iteration?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We built a model and add a iterator, and it runs the whole model, not the portion that we want to iterate.&lt;/P&gt;&lt;P&gt;The process:&lt;/P&gt;&lt;P&gt;&amp;nbsp;- Create FGDB&lt;/P&gt;&lt;P&gt;- Enter a parameter to Query Polygon Municipality layer to query a specific polygon (Municipality)&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Iterator. Loop all FC in a FGDB to clip the Municipality area.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When running the model when it iterates, it runs the whole model for each iteration.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Aug 2022 18:30:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/model-builder-with-iterator-runs-the-whole-model/m-p/1199989#M26416</guid>
      <dc:creator>JoseSanchez</dc:creator>
      <dc:date>2022-08-05T18:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: Model Builder with Iterator, runs the whole model many times</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/model-builder-with-iterator-runs-the-whole-model/m-p/1199991#M26417</link>
      <description>&lt;P&gt;Yes.&amp;nbsp; If you include an iterator in any part of your model it will run all of the tools/processes in the model every time through the iterator.&amp;nbsp; The solution to this is breaking the one model into multiple submodels and calling the submodels that contains the iterator from the "Main" model.&lt;/P&gt;&lt;P&gt;Look for "Advanced use of model iterators" here:&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/2.9/help/analysis/geoprocessing/modelbuilder/add-a-submodel-to-a-model.htm" target="_blank" rel="noopener"&gt;Add a submodel to a model—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Aug 2022 18:40:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/model-builder-with-iterator-runs-the-whole-model/m-p/1199991#M26417</guid>
      <dc:creator>KimberlyGarbade</dc:creator>
      <dc:date>2022-08-05T18:40:07Z</dc:date>
    </item>
  </channel>
</rss>

