<?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 Error when event subprocess is terminating in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/error-when-event-subprocess-is-terminating/m-p/213721#M166851</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using Activiti 5.19.0 and I'm facing a issue on my process.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Consider the following process :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- parent process is waiting for a signal named "signal"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- the event subprocess receives a message named "message", then sends the signal "signal"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- parent process receives the signal and will wait for a message named "another_message"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And the problem appears there. I'm getting an exception :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.apache.ibatis.exceptions.PersistenceException: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;### Error updating database.&amp;nbsp; Cause: org.h2.jdbc.JdbcSQLException: Referential integrity constraint violation: "ACT_FK_EXE_PARENT: PUBLIC.ACT_RU_EXECUTION FOREIGN KEY(PARENT_ID_) REFERENCES PUBLIC.ACT_RU_EXECUTION(ID_) ('8')"; SQL statement:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;delete from ACT_RU_EXECUTION where ID_ = ? and REV_ = ? [23503-168]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;### The error may involve org.activiti.engine.impl.persistence.entity.ExecutionEntity.deleteExecution-Inline&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;### The error occurred while setting parameters&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;### SQL: delete from ACT_RU_EXECUTION where ID_ = ? and REV_ = ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;### Cause: org.h2.jdbc.JdbcSQLException: Referential integrity constraint violation: "ACT_FK_EXE_PARENT: PUBLIC.ACT_RU_EXECUTION FOREIGN KEY(PARENT_ID_) REFERENCES PUBLIC.ACT_RU_EXECUTION(ID_) ('8')"; SQL statement:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;delete from ACT_RU_EXECUTION where ID_ = ? and REV_ = ? [23503-168]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there some code to do I've missed ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've zipped the example but I don't know how to upload this archive here since only txt files are allowed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your help&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Nov 2015 08:51:54 GMT</pubDate>
    <dc:creator>lanto</dc:creator>
    <dc:date>2015-11-26T08:51:54Z</dc:date>
    <item>
      <title>Error when event subprocess is terminating</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-when-event-subprocess-is-terminating/m-p/213721#M166851</link>
      <description>Hi all,I'm using Activiti 5.19.0 and I'm facing a issue on my process.Consider the following process :- parent process is waiting for a signal named "signal"- the event subprocess receives a message named "message", then sends the signal "signal"- parent process receives the signal and will wait for</description>
      <pubDate>Thu, 26 Nov 2015 08:51:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-when-event-subprocess-is-terminating/m-p/213721#M166851</guid>
      <dc:creator>lanto</dc:creator>
      <dc:date>2015-11-26T08:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: Error when event subprocess is terminating</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-when-event-subprocess-is-terminating/m-p/213722#M166852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Attached the BPMN file&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2015 09:16:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-when-event-subprocess-is-terminating/m-p/213722#M166852</guid>
      <dc:creator>lanto</dc:creator>
      <dc:date>2015-11-26T09:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: Error when event subprocess is terminating</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-when-event-subprocess-is-terminating/m-p/213723#M166853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Like mentioned in the user guide, Activiti currently only supports interrupting event sub processes. So the parent process executions are terminated before the event sub process is executed. In Activiti 6 we'll add support for non-interrupting event sub processes as well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Nov 2015 07:53:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-when-event-subprocess-is-terminating/m-p/213723#M166853</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2015-11-30T07:53:06Z</dc:date>
    </item>
  </channel>
</rss>

