<?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: Iterator values start at 1? in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/iterator-values-start-at-1/m-p/314614#M10983</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm having the same issue with ArcGIS Pro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Feb 2018 20:13:46 GMT</pubDate>
    <dc:creator>kingsleyallan</dc:creator>
    <dc:date>2018-02-21T20:13:46Z</dc:date>
    <item>
      <title>Iterator values start at 1?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/iterator-values-start-at-1/m-p/314593#M10962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have been trying to use an iterate field value tool in my models.&amp;nbsp; Each iteration I want to use the value in an SQL expression.&amp;nbsp; But the first value returned from the iterator is always a "1", which is not in my field values at all.&amp;nbsp; Because there is no 1, the tool using the expression always crashes.&amp;nbsp; Why does the iterator generically start with 1 and not my first field value?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tom&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2011 15:59:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/iterator-values-start-at-1/m-p/314593#M10962</guid>
      <dc:creator>TomBonnot</dc:creator>
      <dc:date>2011-03-02T15:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: Iterator values start at 1?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/iterator-values-start-at-1/m-p/314594#M10963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am experiencing this same issue.&amp;nbsp; Anyone have an answer for this yet?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Chris&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2011 18:32:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/iterator-values-start-at-1/m-p/314594#M10963</guid>
      <dc:creator>ChristopherDeRolph</dc:creator>
      <dc:date>2011-03-15T18:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: Iterator values start at 1?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/iterator-values-start-at-1/m-p/314595#M10964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I am experiencing this same issue.&amp;nbsp; Anyone have an answer for this yet?&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;&lt;BR /&gt;Chris&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Tom,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please attach your model with a small sample of your data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Barbara Bicking&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Geoprocessing Team&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2011 13:53:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/iterator-values-start-at-1/m-p/314595#M10964</guid>
      <dc:creator>BBicking1</dc:creator>
      <dc:date>2011-03-16T13:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: Iterator values start at 1?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/iterator-values-start-at-1/m-p/314596#M10965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Same issue here. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have 17 division names in a string field [Division]. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have 'Iterate Field Values' iterator with SQL Expression selected as data type. I want the model to take each unique value in [Division] and use it in the next tool 'Select Layer By Attribute' as the expression [Division]='%'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I could be wrong, but Isn't this how SQL Expression in this iterator is supposed to work?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I also tried an inline variable in my 'Select Layer By Attribute' expression: [Division]='%Value%' and set the Iterator data type back to string. The selection came out: [Division]='1'. When really it should be something like [Division]='Lakeshore'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I get the same generic Value=1 for every different type of field in my feature class, no matter if it is string, long, short, float, double, etc. Even if the iterator is outputting the number of iterations instead of the actual value it should still show me the number of unique values (in the case of [Division], 17) instead of 1. But I thought the iterator was supposed to output the actual unique value of the field specified?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2011 13:13:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/iterator-values-start-at-1/m-p/314596#M10965</guid>
      <dc:creator>GabeMarcello</dc:creator>
      <dc:date>2011-03-17T13:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: Iterator values start at 1?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/iterator-values-start-at-1/m-p/314597#M10966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Same issue here. &lt;BR /&gt;&lt;BR /&gt;I have 17 division names in a string field [Division]. &lt;BR /&gt;&lt;BR /&gt;I have 'Iterate Field Values' iterator with SQL Expression selected as data type. I want the model to take each unique value in [Division] and use it in the next tool 'Select Layer By Attribute' as the expression [Division]='%'&lt;BR /&gt;&lt;BR /&gt;I could be wrong, but Isn't this how SQL Expression in this iterator is supposed to work?&lt;BR /&gt;&lt;BR /&gt;I also tried an inline variable in my 'Select Layer By Attribute' expression: [Division]='%Value%' and set the Iterator data type back to string. The selection came out: [Division]='1'. When really it should be something like [Division]='Lakeshore'&lt;BR /&gt;&lt;BR /&gt;I get the same generic Value=1 for every different type of field in my feature class, no matter if it is string, long, short, float, double, etc. Even if the iterator is outputting the number of iterations instead of the actual value it should still show me the number of unique values (in the case of [Division], 17) instead of 1. But I thought the iterator was supposed to output the actual unique value of the field specified?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Gabe,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;without having a copy of your model, I can't tell why you get what you get.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Barbara&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2011 14:55:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/iterator-values-start-at-1/m-p/314597#M10966</guid>
      <dc:creator>BBicking1</dc:creator>
      <dc:date>2011-03-17T14:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: Iterator values start at 1?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/iterator-values-start-at-1/m-p/314598#M10967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi Gabe,&lt;BR /&gt;&lt;BR /&gt;without having a copy of your model, I can't tell why you get what you get.&lt;BR /&gt;&lt;BR /&gt;Barbara&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Will this attachment suffice?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2011 15:18:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/iterator-values-start-at-1/m-p/314598#M10967</guid>
      <dc:creator>GabeMarcello</dc:creator>
      <dc:date>2011-03-17T15:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: Iterator values start at 1?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/iterator-values-start-at-1/m-p/314599#M10968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Will this attachment suffice?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Gabe,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks so attaching the model.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Your first Select Layer by Attribute uses the output, i.e., Value from Iterate Field Values, yet the iterator has not yet run.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, do you intend to iterate every process every time the iterator outputs another Value?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Barbara Bicking&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2011 14:20:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/iterator-values-start-at-1/m-p/314599#M10968</guid>
      <dc:creator>BBicking1</dc:creator>
      <dc:date>2011-03-18T14:20:46Z</dc:date>
    </item>
    <item>
      <title>Re: Iterator values start at 1?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/iterator-values-start-at-1/m-p/314600#M10969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi Gabe,&lt;BR /&gt;&lt;BR /&gt;Thanks so attaching the model.&lt;BR /&gt;Your first Select Layer by Attribute uses the output, i.e., Value from Iterate Field Values, yet the iterator has not yet run.&lt;BR /&gt;&lt;BR /&gt;Also, do you intend to iterate every process every time the iterator outputs another Value?&lt;BR /&gt;&lt;BR /&gt;Barbara Bicking&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Barbara,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess I don't understand. I want the entire model to run each time the Iterator selects a new unique value in the specified feature class field. Where does the iterator have to be placed in the model for it to run?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2011 16:40:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/iterator-values-start-at-1/m-p/314600#M10969</guid>
      <dc:creator>GabeMarcello</dc:creator>
      <dc:date>2011-03-18T16:40:25Z</dc:date>
    </item>
    <item>
      <title>Re: Iterator values start at 1?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/iterator-values-start-at-1/m-p/314601#M10970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Was there ever a resolution to this issue?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've got the exact same problem. No matter what the data type of the field, the resulting value of VALUE is 1.&amp;nbsp; I have an input table with a 'Usercode' field of string values. According to Help, the iteration should select every unique value in the "Usercode' and pass that string value on.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Mar 2011 19:56:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/iterator-values-start-at-1/m-p/314601#M10970</guid>
      <dc:creator>MarkWheeler</dc:creator>
      <dc:date>2011-03-21T19:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: Iterator values start at 1?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/iterator-values-start-at-1/m-p/314602#M10971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Was there ever a resolution to this issue?&lt;BR /&gt;&lt;BR /&gt;I've got the exact same problem. No matter what the data type of the field, the resulting value of VALUE is 1.&amp;nbsp; I have an input table with a 'Usercode' field of string values. According to Help, the iteration should select every unique value in the "Usercode' and pass that string value on.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I stumbled upon the solution when I decided to just let my model run to see what happened. Apparently, the first iteration used the value '1' and all my selections were empty because of this. After the model finished for the value '1' it started to iterate through the actual values. Worked perfectly!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Mar 2011 23:03:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/iterator-values-start-at-1/m-p/314602#M10971</guid>
      <dc:creator>GabeMarcello</dc:creator>
      <dc:date>2011-03-21T23:03:31Z</dc:date>
    </item>
    <item>
      <title>Re: Iterator values start at 1?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/iterator-values-start-at-1/m-p/314603#M10972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I stumbled upon the solution when I decided to just let my model run to see what happened. Apparently, the first iteration used the value '1' and all my selections were empty because of this. After the model finished for the value '1' it started to iterate through the actual values. Worked perfectly!&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Gabe,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;you can eliminate the initial run by constructing your model such that the iterator is the first process to run, thus it gets initiallized to the value you want.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;As I said above, now your first process runs and the iterator hasn't done anything and therefore it uses the default value 1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I asked if you want to iterate the entire model because of where you placed the iterator in the model, yet wanted the output from the iterator used in your model's first process. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Barbara Bicking&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2011 15:30:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/iterator-values-start-at-1/m-p/314603#M10972</guid>
      <dc:creator>BBicking1</dc:creator>
      <dc:date>2011-03-22T15:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: Iterator values start at 1?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/iterator-values-start-at-1/m-p/314604#M10973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;you can eliminate the initial run by constructing your model such that the iterator is the first process to run, thus it gets initiallized to the value you want.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;HOW do you do this, please?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Apr 2011 17:16:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/iterator-values-start-at-1/m-p/314604#M10973</guid>
      <dc:creator>JordanChamberlin</dc:creator>
      <dc:date>2011-04-10T17:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: Iterator values start at 1?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/iterator-values-start-at-1/m-p/314605#M10974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm having a similar problem, but I have the precondition set.&amp;nbsp; I'm using Iterate Field Values and then I use the output as in-line variable substitution in Get Field Value.&amp;nbsp; However, Get Field Value won't run because the default of the Iterator is 1 and I get the error "Field 1 does not exist within table".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can see in the attachment, Get Field Value is "not ready-to-run" - even once I run the iterator (and the iterator is no longer 1), the state of Get Field Value doesn't change and therefore it doesn't run.&amp;nbsp; I can manually trick it into Ready to Run state (by running the iterator and then opening, editing, cancelling the edit and closing Get Field Value), but since the iterator has already run, that doesn't help and once I reset it, it turns white.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2011 16:10:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/iterator-values-start-at-1/m-p/314605#M10974</guid>
      <dc:creator>HeatherCarlos</dc:creator>
      <dc:date>2011-09-21T16:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: Iterator values start at 1?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/iterator-values-start-at-1/m-p/314606#M10975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;HI HCarlos,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Couple of things need some clarification in your model.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. This is what Get Field Value tool does - The Get Field Value tool gets the &lt;/SPAN&gt;&lt;STRONG&gt;value of the first row&lt;/STRONG&gt;&lt;SPAN&gt; of a table for the specified field. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Why are you iterating over field values using an iterator? This is what Iterate Field Value iterator does - Iterates over each value in a field. So you are iterating over a field value row by row. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3. How and Why are you using the output of the iterator which is the value of the field in the get field value tool? Get Field Value tool will only get the value of a first row of a field. So how are you using the output of the iterator as inline variable substitution? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;4. What do you want to do through this model?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2011 20:19:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/iterator-values-start-at-1/m-p/314606#M10975</guid>
      <dc:creator>ShitijMehta</dc:creator>
      <dc:date>2011-09-21T20:19:18Z</dc:date>
    </item>
    <item>
      <title>Re: Iterator values start at 1?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/iterator-values-start-at-1/m-p/314607#M10976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was wondering if anyone has figured out a work around for this issue. I am running into the exact same problem.&lt;/P&gt;&lt;P&gt;A simple model - Iterate field value (Name)- use the &lt;STRONG&gt;string&lt;/STRONG&gt; output value to run a Make Feature Layer (Name =%Value%)&lt;/P&gt;&lt;P&gt;It will run and immediately stop with the error message Name = 1 does not exist. Examining the model after it ran, it shows that the Value output for&amp;nbsp;&lt;SPAN&gt;Iterate field value now equals 1 even though that value does not exist in the data.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I even tried running the&amp;nbsp;&lt;SPAN&gt;Iterate field value by itself after this happen and it gave me the same result Value = 1.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;A this point I closed everything down, opened it back up, ran the same model with no changes and it worked, once, and then went back the Value = 1 issue.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help with this would be appreciated.&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Dec 2017 20:54:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/iterator-values-start-at-1/m-p/314607#M10976</guid>
      <dc:creator>CarelKotze</dc:creator>
      <dc:date>2017-12-08T20:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: Iterator values start at 1?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/iterator-values-start-at-1/m-p/314608#M10977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;A _jive_internal="true" class="" data-userid="219166" data-username="carelktz" href="https://community.esri.com/people/carelktz"&gt;Hi, Carel Kotze&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN class=""&gt;Is it possible to share your model and your data sample?&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class=""&gt;The default output of the iterator is 1 because, before it has run there is no way to know what the value will be. Especially when you are making generic models with undefined variable values or data types there is no way to connect the output of the iterator to the downstream tools if it has absolutely no information.&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class=""&gt;If I could see the model snapshot with the tool dialog of the tools both iterator and the Make Feature Layer that would help solve this. I am wondering if the SQL expression parameter is somehow set to a value of 1.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN class=""&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Shitij&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Dec 2017 21:17:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/iterator-values-start-at-1/m-p/314608#M10977</guid>
      <dc:creator>ShitijMehta</dc:creator>
      <dc:date>2017-12-08T21:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: Iterator values start at 1?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/iterator-values-start-at-1/m-p/314609#M10978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's an image of the model, table and parameters.&lt;/P&gt;&lt;P&gt;What bothers me is the inconsistency of the model, it will run fine one moment and then switch to the problem I have mentioned above, without me changing anything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The way I managed to make the model work the last time is to change the Input value from the drop down option (the layer is in my table of contents) to the hard drive location using the browse button.&lt;/P&gt;&lt;P&gt;That fixed the problem without me having to change anything else in the model.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Dec 2017 00:12:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/iterator-values-start-at-1/m-p/314609#M10978</guid>
      <dc:creator>CarelKotze</dc:creator>
      <dc:date>2017-12-09T00:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: Iterator values start at 1?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/iterator-values-start-at-1/m-p/314610#M10979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The image&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Dec 2017 00:13:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/iterator-values-start-at-1/m-p/314610#M10979</guid>
      <dc:creator>CarelKotze</dc:creator>
      <dc:date>2017-12-09T00:13:34Z</dc:date>
    </item>
    <item>
      <title>Re: Iterator values start at 1?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/iterator-values-start-at-1/m-p/314611#M10980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What you are describing is an inconsistent behavior and a bug with reading a layer, unfortunately i am unable to reproduce it with the current version. Which ArcMap version do you have?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2017 20:45:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/iterator-values-start-at-1/m-p/314611#M10980</guid>
      <dc:creator>ShitijMehta</dc:creator>
      <dc:date>2017-12-11T20:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: Iterator values start at 1?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/iterator-values-start-at-1/m-p/314612#M10981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using ArcGIS 10.5.1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2017 20:12:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/iterator-values-start-at-1/m-p/314612#M10981</guid>
      <dc:creator>CarelKotze</dc:creator>
      <dc:date>2017-12-14T20:12:13Z</dc:date>
    </item>
  </channel>
</rss>

