<?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: How to get access to source BpmnError in error start event subprocess? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-access-to-source-bpmnerror-in-error-start-event/m-p/161196#M115145</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, that's correct. Two separate event sub processes would work. But it would be an improvement if you could also do this in the same event sub process. Could you raise a JIRA for this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Sep 2013 10:13:39 GMT</pubDate>
    <dc:creator>trademak</dc:creator>
    <dc:date>2013-09-16T10:13:39Z</dc:date>
    <item>
      <title>How to get access to source BpmnError in error start event subprocess?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-access-to-source-bpmnerror-in-error-start-event/m-p/161190#M115139</link>
      <description>Hi,I have a process whick called many times in a loop. If during execution some error occured I want to add a message into report. I try to make sub-process with error start event such this:&amp;lt;subProcess id="error-handling" name="error-handling" triggeredByEvent="true"&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;startEvent id="star</description>
      <pubDate>Wed, 11 Sep 2013 06:31:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-access-to-source-bpmnerror-in-error-start-event/m-p/161190#M115139</guid>
      <dc:creator>lehvolk</dc:creator>
      <dc:date>2013-09-11T06:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to get access to source BpmnError in error start event subprocess?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-access-to-source-bpmnerror-in-error-start-event/m-p/161191#M115140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Still no ideas? It seems that it is common case like in try-catch, when you have access to caught exception.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Sep 2013 06:38:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-access-to-source-bpmnerror-in-error-start-event/m-p/161191#M115140</guid>
      <dc:creator>lehvolk</dc:creator>
      <dc:date>2013-09-12T06:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to get access to source BpmnError in error start event subprocess?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-access-to-source-bpmnerror-in-error-start-event/m-p/161192#M115141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That's not how the BpmnError is meant to be used. You should look at it as a logical error with a simple id or errorRef property only. So it's not meant to pass along technical exceptions. If you want to do that it's best to use a process variable.&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>Thu, 12 Sep 2013 07:01:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-access-to-source-bpmnerror-in-error-start-event/m-p/161192#M115141</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2013-09-12T07:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to get access to source BpmnError in error start event subprocess?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-access-to-source-bpmnerror-in-error-start-event/m-p/161193#M115142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for answer. I check source code and find class ErrorPropagation which implement logic for error handling. As I see not BpmnError and error code not set into the execution. So in my case (where I want to handle BpmnError's with all codes) I also can't get error code. Is this true?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you tell me Is it safe to correct activiti engine ErrorPropagation by this code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; public static void propagateError(BpmnError error, ActivityExecution execution) throws Exception {&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; execution.setVariableLocal("__errorCodeAlias", error.getErrorCode());&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; propagateError(error.getErrorCode(), execution);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Sep 2013 07:23:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-access-to-source-bpmnerror-in-error-start-event/m-p/161193#M115142</guid>
      <dc:creator>lehvolk</dc:creator>
      <dc:date>2013-09-12T07:23:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to get access to source BpmnError in error start event subprocess?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-access-to-source-bpmnerror-in-error-start-event/m-p/161194#M115143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What do you mean with "I also can't get error code" ? From where?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want to change the Activiti core logic that's of course up to you, but upgrading to a new version might be more difficult then.&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>Fri, 13 Sep 2013 07:40:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-access-to-source-bpmnerror-in-error-start-event/m-p/161194#M115143</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2013-09-13T07:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to get access to source BpmnError in error start event subprocess?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-access-to-source-bpmnerror-in-error-start-event/m-p/161195#M115144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;As I understand there is no access to errorCode inside this sub-process which handles all kind of business errors. In curent activiti version the only way to separate logic between them is to define two sub-processes with error start events for different error codes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot for answers.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2013 14:46:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-access-to-source-bpmnerror-in-error-start-event/m-p/161195#M115144</guid>
      <dc:creator>lehvolk</dc:creator>
      <dc:date>2013-09-13T14:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to get access to source BpmnError in error start event subprocess?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-access-to-source-bpmnerror-in-error-start-event/m-p/161196#M115145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, that's correct. Two separate event sub processes would work. But it would be an improvement if you could also do this in the same event sub process. Could you raise a JIRA for this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Sep 2013 10:13:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-access-to-source-bpmnerror-in-error-start-event/m-p/161196#M115145</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2013-09-16T10:13:39Z</dc:date>
    </item>
  </channel>
</rss>

