<?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 Retrieve error code from boundary event (Java Api) in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/retrieve-error-code-from-boundary-event-java-api/m-p/207689#M160819</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi folks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am a newbie on activity engine, I searched if is there a way to retrieve the error code in Java from a boundary event but I didn't find anything. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Basically I have a process similar to this (it's a reduced format of the main one):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[IMG]&lt;/SPAN&gt;&lt;A href="http://i59.tinypic.com/2i0syyq.png" rel="nofollow noopener noreferrer"&gt;http://i59.tinypic.com/2i0syyq.png&lt;/A&gt;&lt;SPAN&gt;[/IMG]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to know the Error code that has been thrown and it goes to the error start event? Is there a way to store the error code easily on the process?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to know the error code because then I can present an error message to the user.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I checked the runtime service but there I didn't find anything for check the errors.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your help,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Gerard.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Nov 2014 15:24:33 GMT</pubDate>
    <dc:creator>gribas</dc:creator>
    <dc:date>2014-11-05T15:24:33Z</dc:date>
    <item>
      <title>Retrieve error code from boundary event (Java Api)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/retrieve-error-code-from-boundary-event-java-api/m-p/207689#M160819</link>
      <description>Hi folks,I am a newbie on activity engine, I searched if is there a way to retrieve the error code in Java from a boundary event but I didn't find anything. Basically I have a process similar to this (it's a reduced format of the main one):[IMG]http://i59.tinypic.com/2i0syyq.png[/IMG]Is there a way</description>
      <pubDate>Wed, 05 Nov 2014 15:24:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/retrieve-error-code-from-boundary-event-java-api/m-p/207689#M160819</guid>
      <dc:creator>gribas</dc:creator>
      <dc:date>2014-11-05T15:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve error code from boundary event (Java Api)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/retrieve-error-code-from-boundary-event-java-api/m-p/207690#M160820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Don't you need to mention the error code in your catching part, either error start event or a boundary event to catch it in first place ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It means you will know the error code, becuase it is activated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2014 15:52:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/retrieve-error-code-from-boundary-event-java-api/m-p/207690#M160820</guid>
      <dc:creator>smirzai</dc:creator>
      <dc:date>2014-11-05T15:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve error code from boundary event (Java Api)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/retrieve-error-code-from-boundary-event-java-api/m-p/207691#M160821</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;SPAN&gt;I have the same question. The problem is that boundaryEvent returns workflow (for example) to previous user task and I can't find any built-in support for getting error code from user task.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Vlad&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jan 2015 10:58:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/retrieve-error-code-from-boundary-event-java-api/m-p/207691#M160821</guid>
      <dc:creator>encircled</dc:creator>
      <dc:date>2015-01-21T10:58:44Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve error code from boundary event (Java Api)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/retrieve-error-code-from-boundary-event-java-api/m-p/207692#M160822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Not sure if I'm following here. The fact that the event was catched, is the information. You could set a variable using a listener if you need it later on.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jan 2015 13:59:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/retrieve-error-code-from-boundary-event-java-api/m-p/207692#M160822</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-01-21T13:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve error code from boundary event (Java Api)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/retrieve-error-code-from-boundary-event-java-api/m-p/207693#M160823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, I need to save the error code (or anything else about the error) for later usage and was wondering if Activiti do it itself. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Will do it with listeners, thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jan 2015 14:11:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/retrieve-error-code-from-boundary-event-java-api/m-p/207693#M160823</guid>
      <dc:creator>encircled</dc:creator>
      <dc:date>2015-01-21T14:11:49Z</dc:date>
    </item>
  </channel>
</rss>

