<?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: Exception on insert into act_hi_detail in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/exception-on-insert-into-act-hi-detail/m-p/18276#M8088</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think that&amp;nbsp;DbIdGenerator is the issue but you can try switching&amp;nbsp;to UUID instead see&amp;nbsp;&lt;A class="link-titled" href="https://www.activiti.org/userguide/index.html#advanced.uuid.generator" title="https://www.activiti.org/userguide/index.html#advanced.uuid.generator" rel="nofollow noopener noreferrer"&gt;Activiti User Guide&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Mar 2018 13:54:53 GMT</pubDate>
    <dc:creator>bassam_al-saror</dc:creator>
    <dc:date>2018-03-22T13:54:53Z</dc:date>
    <item>
      <title>Exception on insert into act_hi_detail</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/exception-on-insert-into-act-hi-detail/m-p/18275#M8087</link>
      <description>Hi,I'm using Activiti&amp;nbsp;5.22.0, and I occasionally encounter the following exception when trying to complete a task:### Error updating database. Cause: org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "act_hi_detail_pkey" Detail: Key (id_)=(5096) already exists.</description>
      <pubDate>Wed, 21 Mar 2018 20:45:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/exception-on-insert-into-act-hi-detail/m-p/18275#M8087</guid>
      <dc:creator>jamespatten</dc:creator>
      <dc:date>2018-03-21T20:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: Exception on insert into act_hi_detail</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/exception-on-insert-into-act-hi-detail/m-p/18276#M8088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think that&amp;nbsp;DbIdGenerator is the issue but you can try switching&amp;nbsp;to UUID instead see&amp;nbsp;&lt;A class="link-titled" href="https://www.activiti.org/userguide/index.html#advanced.uuid.generator" title="https://www.activiti.org/userguide/index.html#advanced.uuid.generator" rel="nofollow noopener noreferrer"&gt;Activiti User Guide&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 13:54:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/exception-on-insert-into-act-hi-detail/m-p/18276#M8088</guid>
      <dc:creator>bassam_al-saror</dc:creator>
      <dc:date>2018-03-22T13:54:53Z</dc:date>
    </item>
    <item>
      <title>Re: Exception on insert into act_hi_detail</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/exception-on-insert-into-act-hi-detail/m-p/18277#M8089</link>
      <description>&lt;P&gt;Recently we faced this issue on Alfresco Community 6.1.x. The problem is about the incorrect ID generator (newly generated ID is already in the database).&lt;/P&gt;&lt;P&gt;To fix this issue you have to change &lt;STRONG&gt;next.dbid&lt;/STRONG&gt; value in the database.&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="107322036_724246435017554_3538613372538076341_n.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/157i28930DCE46210950/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;Step-by-step:&lt;/U&gt;&lt;/P&gt;&lt;P&gt;1) Check maximum id value&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;id_ select max(to_number(id_,'999999999')) from public.act_hi_detail&lt;/PRE&gt;&lt;P&gt;2) Update &lt;EM&gt;value_&lt;/EM&gt; in the&amp;nbsp;&lt;SPAN&gt;&lt;EM&gt;act_ge_property&lt;/EM&gt; table - must be greater than maximum id return by the previous SQL statement&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3) Restart Alfresco&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jul 2020 11:41:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/exception-on-insert-into-act-hi-detail/m-p/18277#M8089</guid>
      <dc:creator>upforsin</dc:creator>
      <dc:date>2020-07-06T11:41:35Z</dc:date>
    </item>
  </channel>
</rss>

