<?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 Retrieving error details in generic ErrorBoundaryEvent flow in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/retrieving-error-details-in-generic-errorboundaryevent-flow/m-p/132347#M92953</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;Is there any way by which we can get the error details in a generic ErrorBoundaryEvent flow.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The Scenario is something like this:-&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The Wrapper Workflow definition is attached below.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;we have defined a wrapping workflow which has a callActivity that invokes dynamic standalone subprocess(ie the call element is passed dynamically). We have also defined an errorBoundaryEvent for the callActivity which is generic and catches all BPMNErrors generated by the subprocess. Now is there a way by which we could identify the error details in the Handler flow?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Also please let me know of the other alternative approaches that could be used.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Feb 2013 04:39:04 GMT</pubDate>
    <dc:creator>vivverma</dc:creator>
    <dc:date>2013-02-08T04:39:04Z</dc:date>
    <item>
      <title>Retrieving error details in generic ErrorBoundaryEvent flow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/retrieving-error-details-in-generic-errorboundaryevent-flow/m-p/132347#M92953</link>
      <description>Hi All,Is there any way by which we can get the error details in a generic ErrorBoundaryEvent flow.The Scenario is something like this:-The Wrapper Workflow definition is attached below.we have defined a wrapping workflow which has a callActivity that invokes dynamic standalone subprocess(ie the cal</description>
      <pubDate>Fri, 08 Feb 2013 04:39:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/retrieving-error-details-in-generic-errorboundaryevent-flow/m-p/132347#M92953</guid>
      <dc:creator>vivverma</dc:creator>
      <dc:date>2013-02-08T04:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving error details in generic ErrorBoundaryEvent flow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/retrieving-error-details-in-generic-errorboundaryevent-flow/m-p/132348#M92954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;AFAIK, only the error-code is used to find the correct handler. The rest of the exception is ignored:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&lt;BR /&gt; public static void propagateError(BpmnError error, ActivityExecution execution) throws Exception {&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; propagateError(error.getErrorCode(), execution);&lt;BR /&gt;&amp;nbsp; }&lt;BR /&gt;&lt;BR /&gt; public static void propagateError(String errorCode, ActivityExecution execution) throws Exception {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // find local error handler&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; String eventHandlerId = findLocalErrorEventHandler(execution, errorCode);&amp;nbsp; &lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;Either you create specific handlers for each error-type you expect OR store (before throwing the BPMNError) some context on a thread-local somewhere.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2013 08:40:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/retrieving-error-details-in-generic-errorboundaryevent-flow/m-p/132348#M92954</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-02-08T08:40:42Z</dc:date>
    </item>
  </channel>
</rss>

