<?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 how to mark success or failure for a service task java delegate implementation in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-mark-success-or-failure-for-a-service-task-java-delegate/m-p/33129#M14028</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a custom implementation [ I do not use activiti bpm - UI or its persistence ]&lt;/P&gt;&lt;P&gt;All tasks are implementation of java delegate as diff task types and i create a pure java&amp;nbsp;activiti model and run it via activiti process engine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Say there is a linear workflow containing 3 tasks and sequence flows tying them together. How do i implement so that activiti understands the task failed or succeeded. As of now it just runs each line of code in the taks and moves on to the next task.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Desired behavior is, if a task fails, subsequent task should not start and process should exit.&lt;/P&gt;&lt;P&gt;Is there any way above can be achieved in activiti?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Oct 2017 18:58:41 GMT</pubDate>
    <dc:creator>anu9</dc:creator>
    <dc:date>2017-10-12T18:58:41Z</dc:date>
    <item>
      <title>how to mark success or failure for a service task java delegate implementation</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-mark-success-or-failure-for-a-service-task-java-delegate/m-p/33129#M14028</link>
      <description>I have a custom implementation [ I do not use activiti bpm - UI or its persistence ]All tasks are implementation of java delegate as diff task types and i create a pure java&amp;nbsp;activiti model and run it via activiti process engine.&amp;nbsp;Say there is a linear workflow containing 3 tasks and sequence flows ty</description>
      <pubDate>Thu, 12 Oct 2017 18:58:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-mark-success-or-failure-for-a-service-task-java-delegate/m-p/33129#M14028</guid>
      <dc:creator>anu9</dc:creator>
      <dc:date>2017-10-12T18:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: how to mark success or failure for a service task java delegate implementation</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-mark-success-or-failure-for-a-service-task-java-delegate/m-p/33130#M14029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If a task fails it should throw an appropriate exception or other business error. The workflow engine will not continue then. Exiting the process could be implemented using an error boundary event handler to react to the specific issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2017 20:33:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-mark-success-or-failure-for-a-service-task-java-delegate/m-p/33130#M14029</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2017-10-12T20:33:28Z</dc:date>
    </item>
  </channel>
</rss>

