<?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 Throwing BPMNError does not end process instance properly in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/throwing-bpmnerror-does-not-end-process-instance-properly/m-p/226629#M179759</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In one of our workflow, there is a task that can throw a Bpmn error for a business validation.&amp;nbsp; I have added a bounderyErrorEvent on the sub-process where it can occur.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When the Bpmn Error is thrown, the process is stopped as we want… but even if my BounderyErrorEvent is pointing to an End Event, the process instance is not ended properly.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This call&amp;nbsp;&amp;nbsp; List&amp;lt;HistoricProcessInstance&amp;gt; procHist = historyService.createHistoricProcessInstanceQuery().unfinished().list();&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;will return this process instance forever!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can i end properly a process on a Bpmn error?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Aug 2016 14:15:50 GMT</pubDate>
    <dc:creator>bcampeau1</dc:creator>
    <dc:date>2016-08-29T14:15:50Z</dc:date>
    <item>
      <title>Throwing BPMNError does not end process instance properly</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/throwing-bpmnerror-does-not-end-process-instance-properly/m-p/226629#M179759</link>
      <description>Hello,In one of our workflow, there is a task that can throw a Bpmn error for a business validation.&amp;nbsp; I have added a bounderyErrorEvent on the sub-process where it can occur.When the Bpmn Error is thrown, the process is stopped as we want… but even if my BounderyErrorEvent is pointing to an End Even</description>
      <pubDate>Mon, 29 Aug 2016 14:15:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/throwing-bpmnerror-does-not-end-process-instance-properly/m-p/226629#M179759</guid>
      <dc:creator>bcampeau1</dc:creator>
      <dc:date>2016-08-29T14:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: Throwing BPMNError does not end process instance properly</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/throwing-bpmnerror-does-not-end-process-instance-properly/m-p/226630#M179760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Ben,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you create jUnit test?&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://forums.activiti.org/content/sticky-how-write-unit-test" rel="nofollow noopener noreferrer"&gt;https://forums.activiti.org/content/sticky-how-write-unit-test&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;as an example use :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.activiti.examples.bpmn.event.error.BoundaryErrorEventTest&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2016 13:42:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/throwing-bpmnerror-does-not-end-process-instance-properly/m-p/226630#M179760</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2016-08-30T13:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: Throwing BPMNError does not end process instance properly</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/throwing-bpmnerror-does-not-end-process-instance-properly/m-p/226631#M179761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a unit test ready to be sent,&amp;nbsp; but i can't attach it here.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And the link to jira in the how-to-write-unit-test post is not working anymore!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can i send you the unit test?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2016 15:00:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/throwing-bpmnerror-does-not-end-process-instance-properly/m-p/226631#M179761</guid>
      <dc:creator>bcampeau1</dc:creator>
      <dc:date>2016-08-30T15:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: Throwing BPMNError does not end process instance properly</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/throwing-bpmnerror-does-not-end-process-instance-properly/m-p/226632#M179762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;OK nvm,&amp;nbsp; created a bug in activiti.atlassian.net&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2016 15:15:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/throwing-bpmnerror-does-not-end-process-instance-properly/m-p/226632#M179762</guid>
      <dc:creator>bcampeau1</dc:creator>
      <dc:date>2016-08-30T15:15:30Z</dc:date>
    </item>
    <item>
      <title>Re: Throwing BPMNError does not end process instance properly</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/throwing-bpmnerror-does-not-end-process-instance-properly/m-p/226633#M179763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Ben,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;And the link to jira in the how-to-write-unit-test post is not working anymore!!&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;I checked it -&amp;gt; works fine for me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;How can i send you the unit test?&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;Fork the project &lt;/SPAN&gt;&lt;A href="https://github.com/Activiti/activiti-unit-test-template" rel="nofollow noopener noreferrer"&gt;https://github.com/Activiti/activiti-unit-test-template&lt;/A&gt;&lt;SPAN&gt; and add the link.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;bug - &lt;/SPAN&gt;&lt;A href="https://activiti.atlassian.net/browse/ACT-4211" rel="nofollow noopener noreferrer"&gt;https://activiti.atlassian.net/browse/ACT-4211&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;I am going to have a look on it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2016 06:05:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/throwing-bpmnerror-does-not-end-process-instance-properly/m-p/226633#M179763</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2016-08-31T06:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: Throwing BPMNError does not end process instance properly</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/throwing-bpmnerror-does-not-end-process-instance-properly/m-p/226634#M179764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Ben,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;issue resolved -&amp;gt; There was a problem in the process model.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://activiti.atlassian.net/browse/ACT-4211?focusedCommentId=16700&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16700" rel="nofollow noopener noreferrer"&gt;https://activiti.atlassian.net/browse/ACT-4211?focusedCommentId=16700&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16700&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2016 06:32:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/throwing-bpmnerror-does-not-end-process-instance-properly/m-p/226634#M179764</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2016-08-31T06:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: Throwing BPMNError does not end process instance properly</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/throwing-bpmnerror-does-not-end-process-instance-properly/m-p/226635#M179765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;OK thanks for taking time to check this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Finally, i found a way to make my case works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thing is, when i added a sequence to the end event, i was having the error : already taking a transition!&amp;nbsp; My Bpmn error was occuring in a mutli-instance sub-process in async.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I realized the sequencial property was set to false!!&amp;nbsp; by setting it to true, i got rid of the "already taking a transition" error and now my process is ending properly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2016 14:28:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/throwing-bpmnerror-does-not-end-process-instance-properly/m-p/226635#M179765</guid>
      <dc:creator>bcampeau1</dc:creator>
      <dc:date>2016-08-31T14:28:04Z</dc:date>
    </item>
  </channel>
</rss>

