<?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: Java Service Tasks - Java exceptions in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/java-service-tasks-java-exceptions/m-p/63993#M40261</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;you can't throw an error event IN a service task and catch it on the same service task. You can do that with call activities (see &lt;/SPAN&gt;&lt;A href="http://www.activiti.org/userguide/index.html#bpmnBoundaryEvent" rel="nofollow noopener noreferrer"&gt;http://www.activiti.org/userguide/index.html#bpmnBoundaryEvent&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Java execptions should be handled IN the service task and result in a logical bpmn outcome as indeed e.g. setting a variable and use that later on. So yes, you can (should) do it the way you describe.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Aug 2011 20:23:20 GMT</pubDate>
    <dc:creator>ronald_van_kuij</dc:creator>
    <dc:date>2011-08-19T20:23:20Z</dc:date>
    <item>
      <title>Java Service Tasks - Java exceptions</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/java-service-tasks-java-exceptions/m-p/63992#M40260</link>
      <description>Hi,In a Java service task I am calling EJBs in a different system. When exceptions are thrown from the EJB how do I throw an exception in the service task (JavaDelegate) so that the exception can be translated to a BoundaryErrorEvent so that a proper path can be followed in the WF ? Or do I need to</description>
      <pubDate>Fri, 19 Aug 2011 16:27:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/java-service-tasks-java-exceptions/m-p/63992#M40260</guid>
      <dc:creator>ruedesilva</dc:creator>
      <dc:date>2011-08-19T16:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: Java Service Tasks - Java exceptions</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/java-service-tasks-java-exceptions/m-p/63993#M40261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;you can't throw an error event IN a service task and catch it on the same service task. You can do that with call activities (see &lt;/SPAN&gt;&lt;A href="http://www.activiti.org/userguide/index.html#bpmnBoundaryEvent" rel="nofollow noopener noreferrer"&gt;http://www.activiti.org/userguide/index.html#bpmnBoundaryEvent&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Java execptions should be handled IN the service task and result in a logical bpmn outcome as indeed e.g. setting a variable and use that later on. So yes, you can (should) do it the way you describe.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Aug 2011 20:23:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/java-service-tasks-java-exceptions/m-p/63993#M40261</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2011-08-19T20:23:20Z</dc:date>
    </item>
  </channel>
</rss>

