<?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: Execution doesn't stop at User Task, then blows up in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/execution-doesn-t-stop-at-user-task-then-blows-up/m-p/122371#M86188</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Expression-bases service-tasks only delegate to the expression, presuming the expression WILL NOT alter execution state (apart form execution variables) and will take the default outgoing flow after the expression has been called. This is a big difference with implementing an ActivityBehaviour, which is in control of the process-flow. An ActivityBehaviour is for advanced use cases, while the regular service-task expression/class mechanism is for incorporating your java-logic in the process.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;OK, cool, that more or less explains that then.&amp;nbsp; Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Why not use a gateway after the service-task, based on an execution-vcariable that is set when the service-task encounters an exception inside it. Even better, you can use throw a BPMNError from the JavaDelegate when your logic threw an exception. This error can be caught by an error-catching event somewhere else and do the "handle exception" logic for you, using pure BPMN.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Well, the documentation seems to argue against using BPMNError for dealing with "technical" errors, but that certainly is an option.&amp;nbsp; It probably would have been my first option, except something I read in the docs seemed to be saying "don't do that".&amp;nbsp; But if you guys think it's OK, I can go back and do it that way.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Mar 2013 16:06:39 GMT</pubDate>
    <dc:creator>mindcrime</dc:creator>
    <dc:date>2013-03-07T16:06:39Z</dc:date>
    <item>
      <title>Execution doesn't stop at User Task, then blows up</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/execution-doesn-t-stop-at-user-task-then-blows-up/m-p/122369#M86186</link>
      <description>Hello all, seeing some weirdness with Activiti 5.10, that I'm hoping someone can help me understand.&amp;nbsp; I am kinda thinking this may be a bug, but hopefullyit's just something I'm missing about Activiti.The basic situation is this: I'm working on implementing error handling (technical errors) for serv</description>
      <pubDate>Wed, 06 Mar 2013 22:26:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/execution-doesn-t-stop-at-user-task-then-blows-up/m-p/122369#M86186</guid>
      <dc:creator>mindcrime</dc:creator>
      <dc:date>2013-03-06T22:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: Execution doesn't stop at User Task, then blows up</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/execution-doesn-t-stop-at-user-task-then-blows-up/m-p/122370#M86187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Expression-bases service-tasks only delegate to the expression, presuming the expression WILL NOT alter execution state (apart form execution variables) and will take the default outgoing flow after the expression has been called. This is a big difference with implementing an ActivityBehaviour, which is in control of the process-flow. An ActivityBehaviour is for advanced use cases, while the regular service-task expression/class mechanism is for incorporating your java-logic in the process.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Why not use a gateway after the service-task, based on an execution-vcariable that is set when the service-task encounters an exception inside it. Even better, you can use throw a BPMNError from the JavaDelegate when your logic threw an exception. This error can be caught by an error-catching event somewhere else and do the "handle exception" logic for you, using pure BPMN.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 14:44:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/execution-doesn-t-stop-at-user-task-then-blows-up/m-p/122370#M86187</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-03-07T14:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: Execution doesn't stop at User Task, then blows up</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/execution-doesn-t-stop-at-user-task-then-blows-up/m-p/122371#M86188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Expression-bases service-tasks only delegate to the expression, presuming the expression WILL NOT alter execution state (apart form execution variables) and will take the default outgoing flow after the expression has been called. This is a big difference with implementing an ActivityBehaviour, which is in control of the process-flow. An ActivityBehaviour is for advanced use cases, while the regular service-task expression/class mechanism is for incorporating your java-logic in the process.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;OK, cool, that more or less explains that then.&amp;nbsp; Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Why not use a gateway after the service-task, based on an execution-vcariable that is set when the service-task encounters an exception inside it. Even better, you can use throw a BPMNError from the JavaDelegate when your logic threw an exception. This error can be caught by an error-catching event somewhere else and do the "handle exception" logic for you, using pure BPMN.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Well, the documentation seems to argue against using BPMNError for dealing with "technical" errors, but that certainly is an option.&amp;nbsp; It probably would have been my first option, except something I read in the docs seemed to be saying "don't do that".&amp;nbsp; But if you guys think it's OK, I can go back and do it that way.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 16:06:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/execution-doesn-t-stop-at-user-task-then-blows-up/m-p/122371#M86188</guid>
      <dc:creator>mindcrime</dc:creator>
      <dc:date>2013-03-07T16:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: Execution doesn't stop at User Task, then blows up</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/execution-doesn-t-stop-at-user-task-then-blows-up/m-p/122372#M86189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If it's a logical error that is expected in your process, than you can just model in in with a gateway after the service-task. If it's an error that can occur due to "technical issue" while executing the service-task (not one that is expected regularly, like e.g.. order not found) an error-event is a better choice.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2013 09:40:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/execution-doesn-t-stop-at-user-task-then-blows-up/m-p/122372#M86189</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-03-08T09:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: Execution doesn't stop at User Task, then blows up</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/execution-doesn-t-stop-at-user-task-then-blows-up/m-p/122373#M86190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;If it's a logical error that is expected in your process, than you can just model in in with a gateway after the service-task. If it's an error that can occur due to "technical issue" while executing the service-task (not one that is expected regularly, like e.g.. order not found) an error-event is a better choice.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Sounds good.&amp;nbsp; Thanks for the assistance!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2013 20:35:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/execution-doesn-t-stop-at-user-task-then-blows-up/m-p/122373#M86190</guid>
      <dc:creator>mindcrime</dc:creator>
      <dc:date>2013-03-08T20:35:17Z</dc:date>
    </item>
  </channel>
</rss>

