<?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: New Utility Network - Failed to Create Features in Water Utilities Questions</title>
    <link>https://community.esri.com/t5/water-utilities-questions/new-utility-network-failed-to-create-features/m-p/549848#M1358</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK....after much digging and zero documentation from ESRI I tracked it down to the "Attribute Rule" not being evaluated correctly and returning the error.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the arcade code that was resulting in the error.&amp;nbsp; Basically the "NetSequenceValue" is evaluating to an error as&amp;nbsp;I tested the false condition works correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if (IsEmpty($feature.assetid)) { &lt;BR /&gt; return "m-" + Text(NextSequenceValue("WaterDevice_10_seq")) &lt;BR /&gt;} &lt;BR /&gt;else { &lt;BR /&gt; return $feature.assetid &lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So digging into the "Esri Utility Network Sample Data", i can't find how this "WaterDevice_10_seq" is set or configured, but it works in&amp;nbsp;thier database as long as you "load the data" as part of the "Apply Asset Package" process.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This attribute rule is on all the features in the utility network and it seems like there really should be some documentation on how to make this work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Jul 2018 01:58:14 GMT</pubDate>
    <dc:creator>DustinJackson</dc:creator>
    <dc:date>2018-07-27T01:58:14Z</dc:date>
    <item>
      <title>New Utility Network - Failed to Create Features</title>
      <link>https://community.esri.com/t5/water-utilities-questions/new-utility-network-failed-to-create-features/m-p/549847#M1357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have deployed the new utility network for water distribution and keep running into the same error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Failed to create new features(s)&lt;/P&gt;&lt;P&gt;ERROR: Unable to compete operation., Failed to evaluate Arcade expression&amp;nbsp;&lt;/P&gt;&lt;P&gt;[StructureJunction, Rule: ID_StrcutureJunction_508]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;no matter what feature I attempt to create i get the same message with just a different rule number...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[WaterDevice, Rule: ID_WaterDevice_1]&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[WaterDevice, Rule: ID_WaterDevice_7]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have followed the install instructions and deployed the network with the sample data (loading the data from the asset package) per the link below and i do not get those errors...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A class="link-titled" href="https://solutions.arcgis.com/water/help/water-utility-network-configuration/get-started/get-started-overview.htm" title="https://solutions.arcgis.com/water/help/water-utility-network-configuration/get-started/get-started-overview.htm"&gt;Get started with the Water Distribution Utility Network Configuration—Get Started | ArcGIS for Water&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;However, when i follow the instructions, including changing the spacial reference of the asset package and NOT loading the sample data, i get the above mentioned errors.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Seems like there is just something that is not getting set correctly during the process when using an the empty data-set.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2018 22:18:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-utilities-questions/new-utility-network-failed-to-create-features/m-p/549847#M1357</guid>
      <dc:creator>DustinJackson</dc:creator>
      <dc:date>2018-07-26T22:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: New Utility Network - Failed to Create Features</title>
      <link>https://community.esri.com/t5/water-utilities-questions/new-utility-network-failed-to-create-features/m-p/549848#M1358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK....after much digging and zero documentation from ESRI I tracked it down to the "Attribute Rule" not being evaluated correctly and returning the error.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the arcade code that was resulting in the error.&amp;nbsp; Basically the "NetSequenceValue" is evaluating to an error as&amp;nbsp;I tested the false condition works correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if (IsEmpty($feature.assetid)) { &lt;BR /&gt; return "m-" + Text(NextSequenceValue("WaterDevice_10_seq")) &lt;BR /&gt;} &lt;BR /&gt;else { &lt;BR /&gt; return $feature.assetid &lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So digging into the "Esri Utility Network Sample Data", i can't find how this "WaterDevice_10_seq" is set or configured, but it works in&amp;nbsp;thier database as long as you "load the data" as part of the "Apply Asset Package" process.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This attribute rule is on all the features in the utility network and it seems like there really should be some documentation on how to make this work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2018 01:58:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-utilities-questions/new-utility-network-failed-to-create-features/m-p/549848#M1358</guid>
      <dc:creator>DustinJackson</dc:creator>
      <dc:date>2018-07-27T01:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: New Utility Network - Failed to Create Features</title>
      <link>https://community.esri.com/t5/water-utilities-questions/new-utility-network-failed-to-create-features/m-p/549849#M1359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you first apply the asset package it should also create all of database sequences, even if you don't load the data.&amp;nbsp; I'd recommend you either run the database sequence tool (&amp;nbsp;&lt;A class="link-titled" href="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/create-database-sequence.htm" title="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/create-database-sequence.htm"&gt;Create Database Sequence—Data Management toolbox | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&amp;nbsp;) and create the "WaterDevice_10_seq" that this expression is expecting.&amp;nbsp; If that doesn't work you can always identify and disable any attribute rules that are making calls to database sequences using the disable attribute rules tool (&amp;nbsp;&lt;A class="link-titled" href="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/disable-attribute-rules.htm" title="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/disable-attribute-rules.htm"&gt;Disable Attribute Rules—Data Management toolbox | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&amp;nbsp;). Hope that help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Jul 2018 11:32:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-utilities-questions/new-utility-network-failed-to-create-features/m-p/549849#M1359</guid>
      <dc:creator>RobertKrisher</dc:creator>
      <dc:date>2018-07-28T11:32:57Z</dc:date>
    </item>
  </channel>
</rss>

