<?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: Iterators for Multiple Inputs in ModelBuilder in ModelBuilder Questions</title>
    <link>https://community.esri.com/t5/modelbuilder-questions/iterators-for-multiple-inputs-in-modelbuilder/m-p/765655#M1943</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Be sure you are using&amp;nbsp;generating&amp;nbsp;unique output names (ie dataset%n%)&amp;nbsp; and using the Collect Values tool on the submodel, or all you get out is the last result after the submodel iterates.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Apr 2018 16:09:28 GMT</pubDate>
    <dc:creator>curtvprice</dc:creator>
    <dc:date>2018-04-03T16:09:28Z</dc:date>
    <item>
      <title>Iterators for Multiple Inputs in ModelBuilder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/iterators-for-multiple-inputs-in-modelbuilder/m-p/765652#M1940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am attempting to run GeodatabaseSchemaCompare across multiple geodatabases. Each database has its own unique "test" (template) database. And, because the tool just outputs a folder with the same name, it needs to be in its own folder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically, what I want it to do is compare Database1 to Template1, output the report into Folder1. Then, Database2 to Template2, output the report to Folder2, on down the line for all 100 databases.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the workspace iterator I was able to get to compare Database1 to Template, then write the Schema to Folder, then compare Database2 to Template, and then overwrite the first report to create another report in Folder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know you can not have more than one iterator in a model when using model builder. Because of this, is my task impossible? Am I going to have to go bother my Python guy to see what he can develop for me?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2018 22:18:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/iterators-for-multiple-inputs-in-modelbuilder/m-p/765652#M1940</guid>
      <dc:creator>GinnyHarris1</dc:creator>
      <dc:date>2018-03-30T22:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: Iterators for Multiple Inputs in ModelBuilder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/iterators-for-multiple-inputs-in-modelbuilder/m-p/765653#M1941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The way to nest loops in Model Builder is to embed models in one another. Both the main model and submodel have their own iterators.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/analyze/modelbuilder/integrating-model-within-a-model.htm" title="http://desktop.arcgis.com/en/arcmap/latest/analyze/modelbuilder/integrating-model-within-a-model.htm"&gt;Integrating a model within a model—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/docs/DOC-8931"&gt;If You Are Stuck At If&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 31 Mar 2018 05:35:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/iterators-for-multiple-inputs-in-modelbuilder/m-p/765653#M1941</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2018-03-31T05:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: Iterators for Multiple Inputs in ModelBuilder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/iterators-for-multiple-inputs-in-modelbuilder/m-p/765654#M1942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have attempted to use the examples included in the reply, and I just can't figure out where I am going wrong. Each iterator in the submodels works when it is in the main model. I just can't figure out how to get them to work when&amp;nbsp;I add it is as a submodel. Basically what happens is that it seems it iterate through my whole list of databases, but then only runs the compare on the very last databases in the list and puts them in the folder on the list. Based on my research I'm assuming what I'm missing are preconditions. But, I haven't quite figured out where those fit into this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because it is sensitive data, I can't include that. But, I have attached my toolbox.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2018 19:55:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/iterators-for-multiple-inputs-in-modelbuilder/m-p/765654#M1942</guid>
      <dc:creator>GinnyHarris1</dc:creator>
      <dc:date>2018-04-02T19:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: Iterators for Multiple Inputs in ModelBuilder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/iterators-for-multiple-inputs-in-modelbuilder/m-p/765655#M1943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Be sure you are using&amp;nbsp;generating&amp;nbsp;unique output names (ie dataset%n%)&amp;nbsp; and using the Collect Values tool on the submodel, or all you get out is the last result after the submodel iterates.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2018 16:09:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/iterators-for-multiple-inputs-in-modelbuilder/m-p/765655#M1943</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2018-04-03T16:09:28Z</dc:date>
    </item>
  </channel>
</rss>

