<?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: BpmnError not caught in boundary in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/bpmnerror-not-caught-in-boundary/m-p/226144#M179274</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Larxxor,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry my fault - I did not check jira issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is already solved in the master head revision. The problem was that process bpmn did not search for tasks inside subprocesses. &lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FlowElement flowElement = process.getFlowElement(taskEntity.getTaskDefinitionKey());&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;was changed to&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FlowElement flowElement = process.getFlowElement(taskEntity.getTaskDefinitionKey(), true);&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;in &lt;/SPAN&gt;&lt;CODE&gt;org.activiti.engine.impl.persistence.entity.TaskEntityManagerImpl#fireTaskListenerEvent&lt;/CODE&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, 16 Mar 2016 07:51:22 GMT</pubDate>
    <dc:creator>martin_grofcik</dc:creator>
    <dc:date>2016-03-16T07:51:22Z</dc:date>
    <item>
      <title>BpmnError not caught in boundary</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/bpmnerror-not-caught-in-boundary/m-p/226136#M179266</link>
      <description>I'm doing som investigations in Activiti 6 beta2.Created a flow, with different type of tasks, listeners etc. Wanting to test boundary error catching, I put a ServiceTask in a subprocess. The ServiceTask calls a java delegate, which throws a BpmnError in the execute method :LOGGER.info("throw BpmnEr</description>
      <pubDate>Tue, 08 Mar 2016 13:14:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/bpmnerror-not-caught-in-boundary/m-p/226136#M179266</guid>
      <dc:creator>larxxor</dc:creator>
      <dc:date>2016-03-08T13:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: BpmnError not caught in boundary</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/bpmnerror-not-caught-in-boundary/m-p/226137#M179267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Larxxor,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;jUnit test would help.&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;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, 08 Mar 2016 13:22:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/bpmnerror-not-caught-in-boundary/m-p/226137#M179267</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2016-03-08T13:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: BpmnError not caught in boundary</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/bpmnerror-not-caught-in-boundary/m-p/226138#M179268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BR /&gt;&lt;SPAN&gt;I am exploring this further, and it seems that listeners is sometimes not called, for some reason.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a case where a TaskListener works nicely in one process, but is never called in another. In designer, those two UserTask look completely identical.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I will investigate and work on a junit test. &lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 10:55:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/bpmnerror-not-caught-in-boundary/m-p/226138#M179268</guid>
      <dc:creator>larxxor</dc:creator>
      <dc:date>2016-03-14T10:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: BpmnError not caught in boundary</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/bpmnerror-not-caught-in-boundary/m-p/226139#M179269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BR /&gt;&lt;SPAN&gt;Well, I have identified the issue. It has to do with subprocesses.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have attached a simple bpm : "junit2.bpmn"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It has no subprocesses, a single UserTask with a listener. It works as expected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have attached a another bpm : "junit.bpmn"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It has a UserTask within a subprocess, with the same listener. It never calls the listener.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The same happens for boundary events on subprocess, which was my original issue. &lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 11:50:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/bpmnerror-not-caught-in-boundary/m-p/226139#M179269</guid>
      <dc:creator>larxxor</dc:creator>
      <dc:date>2016-03-14T11:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: BpmnError not caught in boundary</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/bpmnerror-not-caught-in-boundary/m-p/226140#M179270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BR /&gt;&lt;SPAN&gt;I created JUnit test for it : It is a regression in Beta2 !&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Created two junit tests, one with, one without listener inside subprocess.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It works in Beta1, fails in Beta2. You want me to create Jira issue with the junit tests, I assume?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 12:21:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/bpmnerror-not-caught-in-boundary/m-p/226140#M179270</guid>
      <dc:creator>larxxor</dc:creator>
      <dc:date>2016-03-14T12:21:48Z</dc:date>
    </item>
    <item>
      <title>Re: BpmnError not caught in boundary</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/bpmnerror-not-caught-in-boundary/m-p/226141#M179271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BR /&gt;&lt;SPAN&gt;Jira issue ACT-4133&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 12:41:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/bpmnerror-not-caught-in-boundary/m-p/226141#M179271</guid>
      <dc:creator>larxxor</dc:creator>
      <dc:date>2016-03-14T12:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: BpmnError not caught in boundary</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/bpmnerror-not-caught-in-boundary/m-p/226142#M179272</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;could attach the whole project with java jUnit test class?&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, 15 Mar 2016 07:37:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/bpmnerror-not-caught-in-boundary/m-p/226142#M179272</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2016-03-15T07:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: BpmnError not caught in boundary</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/bpmnerror-not-caught-in-boundary/m-p/226143#M179273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BR /&gt;&lt;SPAN&gt;Ahem, I uploaded the complete project to ACT-4133. Do you mean attach to forum? &lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 07:43:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/bpmnerror-not-caught-in-boundary/m-p/226143#M179273</guid>
      <dc:creator>larxxor</dc:creator>
      <dc:date>2016-03-15T07:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: BpmnError not caught in boundary</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/bpmnerror-not-caught-in-boundary/m-p/226144#M179274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Larxxor,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry my fault - I did not check jira issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is already solved in the master head revision. The problem was that process bpmn did not search for tasks inside subprocesses. &lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FlowElement flowElement = process.getFlowElement(taskEntity.getTaskDefinitionKey());&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;was changed to&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FlowElement flowElement = process.getFlowElement(taskEntity.getTaskDefinitionKey(), true);&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;in &lt;/SPAN&gt;&lt;CODE&gt;org.activiti.engine.impl.persistence.entity.TaskEntityManagerImpl#fireTaskListenerEvent&lt;/CODE&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, 16 Mar 2016 07:51:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/bpmnerror-not-caught-in-boundary/m-p/226144#M179274</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2016-03-16T07:51:22Z</dc:date>
    </item>
  </channel>
</rss>

