<?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: The model is Running a false statement with empty values  while the correct statement is running as it should in ModelBuilder Questions</title>
    <link>https://community.esri.com/t5/modelbuilder-questions/the-model-is-running-a-false-statement-with-empty/m-p/1136545#M384</link>
    <description>&lt;P&gt;Yes - for example, my model flashed that warning every time it found a feature class that already had a GlobalID (which was actually a good thing).&lt;/P&gt;&lt;P&gt;This behavior threw me off the first time I saw it too, but the results of the model were what I was looking for.&lt;/P&gt;</description>
    <pubDate>Mon, 24 Jan 2022 19:25:04 GMT</pubDate>
    <dc:creator>AdamStein2</dc:creator>
    <dc:date>2022-01-24T19:25:04Z</dc:date>
    <item>
      <title>The model is Running a false statement with empty values  while the correct statement is running as it should</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/the-model-is-running-a-false-statement-with-empty/m-p/1135776#M381</link>
      <description>&lt;P&gt;Hello, This script works. But I have some questions if this is as it should or if I can change it further.&amp;nbsp; I will try to explain with text and image.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The questions lies just after the If statement.&amp;nbsp; The model works. If the statement is True then it running the top group&amp;nbsp; (see the image below) . But If the statement is false then its running the bottom group.&amp;nbsp; &amp;nbsp;- As I it should and it works as I wanted to.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;But&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;The situation:&lt;/STRONG&gt; But even if the model is running as it should for the false statement. I still see that the model is try to run all the parts in the true statements but with empty values.&amp;nbsp; I have tried to make a print screen at that partial moment.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;This is what I can read from the log&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SwerefTM_1-1642764468729.png" style="width: 481px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/31953iA7187AF2AFBAE0BC/image-dimensions/481x351?v=v2" width="481" height="351" role="button" title="SwerefTM_1-1642764468729.png" alt="SwerefTM_1-1642764468729.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;It tries to run even if it cannot och should not run. Is this a normal thing?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Here I tried to explain the question as an image.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SwerefTM_0-1642764151474.png" style="width: 800px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/31952i41FD36A52E07E899/image-dimensions/800x444?v=v2" width="800" height="444" role="button" title="SwerefTM_0-1642764151474.png" alt="SwerefTM_0-1642764151474.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jan 2022 11:53:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/the-model-is-running-a-false-statement-with-empty/m-p/1135776#M381</guid>
      <dc:creator>SwerefTM</dc:creator>
      <dc:date>2022-01-21T11:53:40Z</dc:date>
    </item>
    <item>
      <title>Re: The model is Running a false statement with empty values  while the correct statement is running as it should</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/the-model-is-running-a-false-statement-with-empty/m-p/1135996#M382</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I made a similar model that checks to see what FCs in a geodatabase have a GlobalID field, and which ones don't. Then the model adds a GlobalID fields to the FCs that don't.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If a precondition is false, and that tool in the model doesn't run, the messages usually reflect that.&lt;/P&gt;&lt;P&gt;So I see the same warning when my model runs through successfully.&lt;/P&gt;&lt;P&gt;From what I am reading you aren't having and problems with the results of your tool, correct?&lt;/P&gt;&lt;P&gt;Adam&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jan 2022 21:08:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/the-model-is-running-a-false-statement-with-empty/m-p/1135996#M382</guid>
      <dc:creator>AdamStein2</dc:creator>
      <dc:date>2022-01-21T21:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: The model is Running a false statement with empty values  while the correct statement is running as it should</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/the-model-is-running-a-false-statement-with-empty/m-p/1136131#M383</link>
      <description>&lt;P&gt;Thank you.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;&lt;EM&gt;From what I am reading you aren't having and problems with the results of your tool, correct?&lt;/EM&gt;&amp;nbsp; &lt;STRONG&gt;Thats correct&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;"&lt;SPAN&gt;If a precondition is false, and that tool in the model doesn't run, the messages usually reflect that.&lt;/SPAN&gt;"&lt;BR /&gt;Ok, I think I can see your answer as a solution&lt;BR /&gt;&lt;BR /&gt;/ SwerefTM&lt;/P&gt;</description>
      <pubDate>Sat, 22 Jan 2022 09:41:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/the-model-is-running-a-false-statement-with-empty/m-p/1136131#M383</guid>
      <dc:creator>SwerefTM</dc:creator>
      <dc:date>2022-01-22T09:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: The model is Running a false statement with empty values  while the correct statement is running as it should</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/the-model-is-running-a-false-statement-with-empty/m-p/1136545#M384</link>
      <description>&lt;P&gt;Yes - for example, my model flashed that warning every time it found a feature class that already had a GlobalID (which was actually a good thing).&lt;/P&gt;&lt;P&gt;This behavior threw me off the first time I saw it too, but the results of the model were what I was looking for.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jan 2022 19:25:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/the-model-is-running-a-false-statement-with-empty/m-p/1136545#M384</guid>
      <dc:creator>AdamStein2</dc:creator>
      <dc:date>2022-01-24T19:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: The model is Running a false statement with empty values  while the correct statement is running as it should</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/the-model-is-running-a-false-statement-with-empty/m-p/1147615#M385</link>
      <description>&lt;P&gt;Wondering if you have successfully implemented this in a model? I'm attempting to use the&amp;nbsp;&lt;EM&gt;If Spatial Relationship Is&lt;/EM&gt; and&amp;nbsp;&lt;EM&gt;If Field Value Is&lt;/EM&gt; tools to append an &lt;U&gt;AddressPoint&lt;/U&gt; to an &lt;U&gt;ApprovedLicense&lt;/U&gt; feature class only if the &lt;U&gt;AddressPoint&lt;/U&gt; is more than 5 meters from an existing &lt;U&gt;ApprovedLicense&lt;/U&gt; and the IssueLicense field contains the value 'yes'. Any pointers would be appreciated. I would like to see the the&amp;nbsp;&lt;STRONG&gt;process did not execute because the precondition is false &lt;/STRONG&gt;error message&amp;nbsp;but I can see that the processes are being executed (they change from yellow to red in the ModelBuilder window) when they should evaluate to False.&lt;/P&gt;&lt;P&gt;More details on my issue here: &lt;A href="https://community.esri.com/t5/modelbuilder-questions/if-spatial-relationship-and-if-field-value-is-tool/m-p/1147530" target="_blank"&gt;If Spatial Relationship and If Field Value Is tool... - Esri Community&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Feb 2022 17:28:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/the-model-is-running-a-false-statement-with-empty/m-p/1147615#M385</guid>
      <dc:creator>SarahHartholt</dc:creator>
      <dc:date>2022-02-24T17:28:05Z</dc:date>
    </item>
  </channel>
</rss>

