<?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: Closest Facility Analysis Error when Executed in ModelBuilder  in ArcGIS Network Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-network-analyst-questions/closest-facility-analysis-error-when-executed-in/m-p/647572#M6187</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, that is the way I have set it up - one for facilities and the other for incidents. However, in the two "Add Locations" tools the drop-down list is empty&amp;nbsp;for "Sub Layer" - I cannot select "Incidents" or "Facilities'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Mar 2019 11:17:42 GMT</pubDate>
    <dc:creator>ZeldaEls</dc:creator>
    <dc:date>2019-03-05T11:17:42Z</dc:date>
    <item>
      <title>Closest Facility Analysis Error when Executed in ModelBuilder</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/closest-facility-analysis-error-when-executed-in/m-p/647570#M6185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to do complete a closest facility analysis for publishing as a web tool once successful. I have completed the individual steps and get it solved. However, when I build these steps into ModelBuilder and try to solve it – I get the following error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #95841e; font-size: 9.0pt;"&gt;0 location(s) in "Incidents" are valid.&amp;nbsp; Need at least 1 valid location(s).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="; color: blue; text-decoration: underline; font-size: 9.0pt;"&gt;&lt;STRONG&gt;ERROR 030024:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #e54724; font-size: 9.0pt;"&gt; Solve returned a failure.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #e54724; font-size: 9.0pt;"&gt;Insufficient number of valid locations in "Facilities" or "Incidents".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #e54724; font-size: 9.0pt;"&gt;Failed to execute (Solve).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have also used a Python script to run the analysis and though it executed successfully, I have issues getting it published as a web tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please advice? I have a suspicion it might be the sub layers as it does not show in the "Add Location"-tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Zelda&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; color: #95841e;"&gt;&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Mar 2019 12:55:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/closest-facility-analysis-error-when-executed-in/m-p/647570#M6185</guid>
      <dc:creator>ZeldaEls</dc:creator>
      <dc:date>2019-03-01T12:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: Closest Facility Analysis Error when Executed in ModelBuilder</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/closest-facility-analysis-error-when-executed-in/m-p/647571#M6186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your model you have the Add Locations tool two times. I am hoping that once it is to load Facilities and the second to load Incidents. Make sure that when you are loading the incidents, the sub-layer in the Add Locations tool is actually set to Incidents. By default it is set to facilities. So you may be loading both sets of locations as facilities and no incidents are loaded.&lt;/P&gt;&lt;P&gt;You can double-click on the add locations box and then check the sub layer parameter and set to Incidents where needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jay Sandhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Mar 2019 23:26:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/closest-facility-analysis-error-when-executed-in/m-p/647571#M6186</guid>
      <dc:creator>JaySandhu</dc:creator>
      <dc:date>2019-03-01T23:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: Closest Facility Analysis Error when Executed in ModelBuilder</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/closest-facility-analysis-error-when-executed-in/m-p/647572#M6187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, that is the way I have set it up - one for facilities and the other for incidents. However, in the two "Add Locations" tools the drop-down list is empty&amp;nbsp;for "Sub Layer" - I cannot select "Incidents" or "Facilities'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Mar 2019 11:17:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/closest-facility-analysis-error-when-executed-in/m-p/647572#M6187</guid>
      <dc:creator>ZeldaEls</dc:creator>
      <dc:date>2019-03-05T11:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: Closest Facility Analysis Error when Executed in ModelBuilder</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/closest-facility-analysis-error-when-executed-in/m-p/647573#M6188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can't say why the sub layer drop down list would be empty. I would suggest trying to recreate another model and seeing if the problem goes away.&lt;/P&gt;&lt;P&gt;Jay Sandhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Mar 2019 17:07:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/closest-facility-analysis-error-when-executed-in/m-p/647573#M6188</guid>
      <dc:creator>JaySandhu</dc:creator>
      <dc:date>2019-03-05T17:07:53Z</dc:date>
    </item>
  </channel>
</rss>

