<?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 if-then statement to run a model in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/if-then-statement-to-run-a-model/m-p/267793#M9203</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;BR /&gt;&lt;SPAN&gt;I am very new to Modelbuilder and have hit a wall.&amp;nbsp; I have managed to build 2 separate models for the effects of flooding on vegetation, one for water level increases (flooding) and one for water level decreases (exposed) as the vegetation respond differently under each scenario.&amp;nbsp; I have created a third model with the above 2 models nested inside.&amp;nbsp; I have 2 parameters "present water level" and "future water level" in this third model.&amp;nbsp; I would like to build a statement that says "if future water level &amp;gt; present water level, then run model Flooded.&amp;nbsp; Else run the exposed model.&amp;nbsp; Do I do this with "create value" and if so, how? I am even less familiar with scripts.&amp;nbsp; Do I just say else : # EK veg model EXPOSED.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Taryn&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Jul 2010 12:38:57 GMT</pubDate>
    <dc:creator>TarynRiddin</dc:creator>
    <dc:date>2010-07-05T12:38:57Z</dc:date>
    <item>
      <title>if-then statement to run a model</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/if-then-statement-to-run-a-model/m-p/267793#M9203</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;BR /&gt;&lt;SPAN&gt;I am very new to Modelbuilder and have hit a wall.&amp;nbsp; I have managed to build 2 separate models for the effects of flooding on vegetation, one for water level increases (flooding) and one for water level decreases (exposed) as the vegetation respond differently under each scenario.&amp;nbsp; I have created a third model with the above 2 models nested inside.&amp;nbsp; I have 2 parameters "present water level" and "future water level" in this third model.&amp;nbsp; I would like to build a statement that says "if future water level &amp;gt; present water level, then run model Flooded.&amp;nbsp; Else run the exposed model.&amp;nbsp; Do I do this with "create value" and if so, how? I am even less familiar with scripts.&amp;nbsp; Do I just say else : # EK veg model EXPOSED.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Taryn&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jul 2010 12:38:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/if-then-statement-to-run-a-model/m-p/267793#M9203</guid>
      <dc:creator>TarynRiddin</dc:creator>
      <dc:date>2010-07-05T12:38:57Z</dc:date>
    </item>
  </channel>
</rss>

