<?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: Error end event without catching in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/error-end-event-without-catching/m-p/121979#M85932</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, I'll check it tomorrow. Thanks for the unit test.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Apr 2013 17:37:12 GMT</pubDate>
    <dc:creator>jbarrez</dc:creator>
    <dc:date>2013-04-18T17:37:12Z</dc:date>
    <item>
      <title>Error end event without catching</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-end-event-without-catching/m-p/121976#M85929</link>
      <description>Hello,In User Guide it is pointed thatIn case no matching boundary error event is found, the execution semantics default to the none end event semantics.As I understood it means that in case no catching boundary event or start error event subprocess the process should complete usually.But when I exe</description>
      <pubDate>Wed, 17 Apr 2013 09:01:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-end-event-without-catching/m-p/121976#M85929</guid>
      <dc:creator>ybrukau</dc:creator>
      <dc:date>2013-04-17T09:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: Error end event without catching</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-end-event-without-catching/m-p/121977#M85930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That sounds like a bug in the userguide. I've updated the userguide: see &lt;/SPAN&gt;&lt;A href="https://github.com/Activiti/Activiti/commit/9313380cdd14f507117f5a95b3ce1b151580d605" rel="nofollow noopener noreferrer"&gt;https://github.com/Activiti/Activiti/commit/9313380cdd14f507117f5a95b3ce1b151580d605&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for reporting!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2013 11:37:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-end-event-without-catching/m-p/121977#M85930</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2013-04-18T11:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: Error end event without catching</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-end-event-without-catching/m-p/121978#M85931</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;Thanks for reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem that it is working differently depending on how the process with end error event was executed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If it was started by RuntimeService, for example, it will finish silently without exception.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But if it would be started as sub process by CallActivity from other process it will throw an exception.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;As soon as I can not attach zip archive with unit test. I will attach all files (first is java unit test, other two are bpmn processes)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you, please, take a look?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yury&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2013 13:42:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-end-event-without-catching/m-p/121978#M85931</guid>
      <dc:creator>ybrukau</dc:creator>
      <dc:date>2013-04-18T13:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: Error end event without catching</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-end-event-without-catching/m-p/121979#M85932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, I'll check it tomorrow. Thanks for the unit test.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2013 17:37:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-end-event-without-catching/m-p/121979#M85932</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2013-04-18T17:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: Error end event without catching</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-end-event-without-catching/m-p/121980#M85933</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;I checked the source code. And I found class org.activiti.engine.impl.bpmn.helper.ErrorPropagation where error propagation is implemented.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What I found is it is done in two different ways depending on super process existing. If super process doesn't exist it prints log message and finishes. If super process exists it tries to find error event handler in super process (and upper hierarchy) and if there is no handler it throws BpmnError.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There is even TODO related to it I suppose:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;// TODO: merge two approaches (super process / regular process approach)&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So is it possible to add this fix to next release? And what is an expected behaviour in such case BpmnError or just log message?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yury&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2013 08:42:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-end-event-without-catching/m-p/121980#M85933</guid>
      <dc:creator>ybrukau</dc:creator>
      <dc:date>2013-04-23T08:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: Error end event without catching</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-end-event-without-catching/m-p/121981#M85934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thats indeed inconsistent behavior. As the error-event on a normal process now ends the process, it seems normal that, in case of a super-process being present, the exact same behavior is done: ending the process and logging.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you agree to the reasoning behind this? I can get that implemented by next release as it's a minor change. We do need to think about the implications on existing users that may rely on the exception…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2013 07:57:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-end-event-without-catching/m-p/121981#M85934</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-04-24T07:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: Error end event without catching</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-end-event-without-catching/m-p/121982#M85935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I checked BPMN 2.0 spec and found next (page 247)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;STRONG&gt;Error End Event&lt;/STRONG&gt;&lt;BR /&gt;This type of End indicates that a named Error should be generated. All currently active threads in the particular Sub-Process are terminated as a result. The Error will be caught by a Catch Error Intermediate Event with the same errorCode or no errorCode which is on the boundary if the nearest enclosing parent Activity (hierarchically). The behavior of the Process is unspecified if no Activity in the hierarchy has such an&amp;nbsp; Error Intermediate Event. The system executing the process can define additional Error handling in this case, a common one being termination of the Process instance.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;So it says that behavior is unspecified in this case and common handling is "termination of the process". But it is still not clear what to do with parent process.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;From my point of view it is fine to end a process and log (probably with level Warning).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;About relying on the exception. It is a bit strange for me because that is the reason for error start event. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Should I create a jira or do anything else?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yury&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2013 10:00:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-end-event-without-catching/m-p/121982#M85935</guid>
      <dc:creator>ybrukau</dc:creator>
      <dc:date>2013-04-24T10:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: Error end event without catching</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-end-event-without-catching/m-p/121983#M85936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It indeed makes sense to just end the process, uncaught error-events are exceptional and I guess not many people will count on an exception being thrown in a subprocess.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No need for a jira, I'll alter the behavior.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2013 10:03:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-end-event-without-catching/m-p/121983#M85936</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-04-24T10:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: Error end event without catching</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-end-event-without-catching/m-p/121984#M85937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That throwing of the BPMNError is there for a reason (I should have checked first). In case it's a call-activity, the BPMNError thrown be caught be caught by the parent-process (which doesn't have an explicit super-execution relation-ship which prevent the BPMNError from bubbling up in a normal way).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2013 11:24:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-end-event-without-catching/m-p/121984#M85937</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-04-24T11:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: Error end event without catching</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-end-event-without-catching/m-p/121985#M85938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry, I did not understand your last comment.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2013 20:44:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-end-event-without-catching/m-p/121985#M85938</guid>
      <dc:creator>ybrukau</dc:creator>
      <dc:date>2013-04-24T20:44:11Z</dc:date>
    </item>
  </channel>
</rss>

