<?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: Getting Duplicate Unique IDs with NextSequenceValue in Attribute Rules Questions</title>
    <link>https://community.esri.com/t5/attribute-rules-questions/getting-duplicate-unique-ids-with/m-p/1404092#M1372</link>
    <description>&lt;P&gt;This should not be possible , as NextSequenceValue simply queries the database for the next sequence (using .nextval) and databases often handle that really well.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It could be that the app is overwriting the value somehow via an update. Check the creation user/last updated for the duplicate unique id which one is newer is probably the duplicate, also to be safe make the field uneditable.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are using branch versioning or archiving you can use the history to investigate how the unique id happened to be.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you know what is the database?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 01 Apr 2024 23:15:53 GMT</pubDate>
    <dc:creator>HusseinNasser2</dc:creator>
    <dc:date>2024-04-01T23:15:53Z</dc:date>
    <item>
      <title>Getting Duplicate Unique IDs with NextSequenceValue</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/getting-duplicate-unique-ids-with/m-p/1402617#M1368</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I have created an attribute rule that creates a Unique ID based on the next number in the sql database sequence. When a public user submits an entry through Survey 123 it will create this Unique ID. I have noticed that sometimes two entries will have duplicate Unique IDs. I thought it could be a time delay issue but the creation date/time is a few hours apart. Any ideas?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Mar 2024 15:26:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/getting-duplicate-unique-ids-with/m-p/1402617#M1368</guid>
      <dc:creator>JennaWalz3</dc:creator>
      <dc:date>2024-03-29T15:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Duplicate Unique IDs with NextSequenceValue</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/getting-duplicate-unique-ids-with/m-p/1404092#M1372</link>
      <description>&lt;P&gt;This should not be possible , as NextSequenceValue simply queries the database for the next sequence (using .nextval) and databases often handle that really well.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It could be that the app is overwriting the value somehow via an update. Check the creation user/last updated for the duplicate unique id which one is newer is probably the duplicate, also to be safe make the field uneditable.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are using branch versioning or archiving you can use the history to investigate how the unique id happened to be.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you know what is the database?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2024 23:15:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/getting-duplicate-unique-ids-with/m-p/1404092#M1372</guid>
      <dc:creator>HusseinNasser2</dc:creator>
      <dc:date>2024-04-01T23:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Duplicate Unique IDs with NextSequenceValue</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/getting-duplicate-unique-ids-with/m-p/1404535#M1373</link>
      <description>&lt;P&gt;It is an SQL database, and we are using branch versioning.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 13:01:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/getting-duplicate-unique-ids-with/m-p/1404535#M1373</guid>
      <dc:creator>JennaWalz3</dc:creator>
      <dc:date>2024-04-02T13:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Duplicate Unique IDs with NextSequenceValue</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/getting-duplicate-unique-ids-with/m-p/1404540#M1374</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JennaWalz3_0-1712063241314.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/99737i79034D1DFF325FFB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JennaWalz3_0-1712063241314.png" alt="JennaWalz3_0-1712063241314.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 13:07:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/getting-duplicate-unique-ids-with/m-p/1404540#M1374</guid>
      <dc:creator>JennaWalz3</dc:creator>
      <dc:date>2024-04-02T13:07:32Z</dc:date>
    </item>
  </channel>
</rss>

