<?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: duplicate key row in object 'ACT_RE_PROCDEF' in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/duplicate-key-row-in-object-act-re-procdef/m-p/41558#M17432</link>
    <description>&lt;P&gt;actually, activiti itself should version the process def -&amp;nbsp;&lt;A href="https://www.activiti.org/5.x/userguide/#versioningOfProcessDefinitions" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.activiti.org/5.x/userguide/#versioningOfProcessDefinitions&lt;/A&gt;&lt;/P&gt;&lt;P&gt;how are you deploying your process?&lt;/P&gt;</description>
    <pubDate>Fri, 25 Sep 2020 12:38:33 GMT</pubDate>
    <dc:creator>abbask01</dc:creator>
    <dc:date>2020-09-25T12:38:33Z</dc:date>
    <item>
      <title>duplicate key row in object 'ACT_RE_PROCDEF'</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/duplicate-key-row-in-object-act-re-procdef/m-p/41557#M17431</link>
      <description>&lt;P&gt;I am using activiti 5.21.0 with spring 3.1.4. I am getting occasionally that a dupe rows with same version for a process def exists in ACT_RE_PROCDEF table causing the application to not load at all.&lt;/P&gt;&lt;P&gt;Below error shows when it fail to start,&lt;/P&gt;&lt;PRE&gt;Error creating bean with name 'processEngine': FactoryBean threw exception on object creation; nested exception is org.apache.ibatis.exceptions.PersistenceException:
### Error updating database. Cause: java.sql.SQLException: Attempt to insert duplicate key row in object 'ACT_RE_PROCDEF' with unique index 'ACT_UNIQ_PROCDEF'&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;I have only one process to deploy and the issue is that even though the bpmn file did not change and you just restart the server - a new row with higher version gets inserted all the time.&lt;/P&gt;&lt;P&gt;How to control when a new proc def gets inserted - i.e., insert if the only new version for proc def is available instead of every bootup?&lt;/P&gt;&lt;P&gt;How bpmn detects if anything changed from the bpmn since it was last deployed?&lt;/P&gt;&lt;P&gt;Is this a known issue with acitivity?&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jul 2020 11:23:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/duplicate-key-row-in-object-act-re-procdef/m-p/41557#M17431</guid>
      <dc:creator>sandy13</dc:creator>
      <dc:date>2020-07-29T11:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: duplicate key row in object 'ACT_RE_PROCDEF'</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/duplicate-key-row-in-object-act-re-procdef/m-p/41558#M17432</link>
      <description>&lt;P&gt;actually, activiti itself should version the process def -&amp;nbsp;&lt;A href="https://www.activiti.org/5.x/userguide/#versioningOfProcessDefinitions" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.activiti.org/5.x/userguide/#versioningOfProcessDefinitions&lt;/A&gt;&lt;/P&gt;&lt;P&gt;how are you deploying your process?&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2020 12:38:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/duplicate-key-row-in-object-act-re-procdef/m-p/41558#M17432</guid>
      <dc:creator>abbask01</dc:creator>
      <dc:date>2020-09-25T12:38:33Z</dc:date>
    </item>
  </channel>
</rss>

