<?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: Get Count Tool with Iterators in Model Builder in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/get-count-tool-with-iterators-in-model-builder/m-p/113910#M3888</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Paul, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To suggest a possible solution I need to know:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Why do you want to feed back the output of Get Count tool into the iterator?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If it is false you want to continue processing what?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Get Count tool only gets the count of selected records. If the selection is = 0 what do you want the model to do?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Sep 2011 19:25:06 GMT</pubDate>
    <dc:creator>ShitijMehta</dc:creator>
    <dc:date>2011-09-22T19:25:06Z</dc:date>
    <item>
      <title>Get Count Tool with Iterators in Model Builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/get-count-tool-with-iterators-in-model-builder/m-p/113905#M3883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello all.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have the "Get Count Tool" returning number of rows using "Select" tool in a feature class.&amp;nbsp; This is a precondition for the rest of my model.&amp;nbsp; So if false it will not continue model.&amp;nbsp; However, the features class was selected from a folder using "Iterate Features".&amp;nbsp; When the precondition is false, the model doesn't iterate the next available feature correctly.&amp;nbsp; It simply gives this error:&amp;nbsp; "All the inputs are not current" and after giving this error for every feature class in folder, I am left with only empty output.&amp;nbsp; Clearly I am missing something important here.&amp;nbsp; Any help? --attached image.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2011 12:20:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/get-count-tool-with-iterators-in-model-builder/m-p/113905#M3883</guid>
      <dc:creator>PaulLeonard</dc:creator>
      <dc:date>2011-09-09T12:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: Get Count Tool with Iterators in Model Builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/get-count-tool-with-iterators-in-model-builder/m-p/113906#M3884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Okay so I figured out the error message but I still need to do this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If precondition is 'true' continue the model -- this works.&amp;nbsp; However, if precondition is 'false' don't stop the model, simply continue iterating the next input.&amp;nbsp; Could I use a Calculate Value tool to do this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2011 13:32:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/get-count-tool-with-iterators-in-model-builder/m-p/113906#M3884</guid>
      <dc:creator>PaulLeonard</dc:creator>
      <dc:date>2011-09-19T13:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: Get Count Tool with Iterators in Model Builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/get-count-tool-with-iterators-in-model-builder/m-p/113907#M3885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;yes you can use the Calculate Value tool like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Check this &lt;/SPAN&gt;&lt;A href="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/2011/06/06/ModelBuilderIfThenElse1.aspx"&gt;blog&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2011 15:36:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/get-count-tool-with-iterators-in-model-builder/m-p/113907#M3885</guid>
      <dc:creator>ShitijMehta</dc:creator>
      <dc:date>2011-09-19T15:36:19Z</dc:date>
    </item>
    <item>
      <title>Re: Get Count Tool with Iterators in Model Builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/get-count-tool-with-iterators-in-model-builder/m-p/113908#M3886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;yes you can use the Calculate Value tool like this:&lt;BR /&gt;&lt;BR /&gt;Check this &lt;A href="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/2011/06/06/ModelBuilderIfThenElse1.aspx"&gt;blog&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for doing this blog.&amp;nbsp; However, using the calculate value tool in your examples only continues workflow with tools.&amp;nbsp; I need to feedback workflow into an iterator.&amp;nbsp; Therefore I can't make the 'false' Calculate Value boolean a precondition to run the iterate feature tool.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2011 17:56:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/get-count-tool-with-iterators-in-model-builder/m-p/113908#M3886</guid>
      <dc:creator>PaulLeonard</dc:creator>
      <dc:date>2011-09-19T17:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: Get Count Tool with Iterators in Model Builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/get-count-tool-with-iterators-in-model-builder/m-p/113909#M3887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am not sure I understand what do you mean by feedback. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you trying to use a feedback loop with an iterator?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you trying to branch a model based on a true branch and a false branch?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Check if this &lt;/SPAN&gt;&lt;A href="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/2011/09/20/ModelBuilderIfThenElse4.aspx"&gt;blog&lt;/A&gt;&lt;SPAN&gt; answers your question.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2011 20:23:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/get-count-tool-with-iterators-in-model-builder/m-p/113909#M3887</guid>
      <dc:creator>ShitijMehta</dc:creator>
      <dc:date>2011-09-21T20:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: Get Count Tool with Iterators in Model Builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/get-count-tool-with-iterators-in-model-builder/m-p/113910#M3888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Paul, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To suggest a possible solution I need to know:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Why do you want to feed back the output of Get Count tool into the iterator?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If it is false you want to continue processing what?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Get Count tool only gets the count of selected records. If the selection is = 0 what do you want the model to do?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2011 19:25:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/get-count-tool-with-iterators-in-model-builder/m-p/113910#M3888</guid>
      <dc:creator>ShitijMehta</dc:creator>
      <dc:date>2011-09-22T19:25:06Z</dc:date>
    </item>
  </channel>
</rss>

