<?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: Only one service task is executed in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/only-one-service-task-is-executed/m-p/15290#M6762</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is from the user guide, sounds like they are quite different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV class="" style="color: #222222; background-color: #ffffff;"&gt;&lt;DIV class=""&gt;&lt;P style="font-weight: normal; font-size: 1em; margin: 0px 0px 0.75em;"&gt;&lt;A href="https://www.activiti.org/userguide/#internal" style="color: #00579e; background: transparent; text-decoration: none;" rel="nofollow noopener noreferrer"&gt;[INTERNAL: non-public implementation classes]&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;It is also possible to provide a class that implements the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;org.activiti.engine.impl.pvm.delegate.ActivityBehavior&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;interface. Implementations have then access to the more powerful&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;ActivityExecution&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;that for example also allows to influence the control flow of the process. Note however that this is not a very good practice, and should be avoided as much as possible. So, it is advised to use the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;ActivityBehavior&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;interface only for advanced use cases and if you know exactly what you’re doing.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Dec 2018 08:34:37 GMT</pubDate>
    <dc:creator>pault</dc:creator>
    <dc:date>2018-12-11T08:34:37Z</dc:date>
    <item>
      <title>Only one service task is executed</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/only-one-service-task-is-executed/m-p/15288#M6760</link>
      <description>Hi,I have created a process that has multiple service tasks in a sequence. When I start the process, first and 2nd tasks are executed however, the rest of them are not executed. I thought this is a simple flow but couldn't figure out what is blocking&amp;nbsp;some of the tasks.&amp;nbsp;Here is my process. Anything w</description>
      <pubDate>Mon, 10 Dec 2018 23:48:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/only-one-service-task-is-executed/m-p/15288#M6760</guid>
      <dc:creator>gopi_chitturi</dc:creator>
      <dc:date>2018-12-10T23:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: Only one service task is executed</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/only-one-service-task-is-executed/m-p/15289#M6761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Figured out the issue. There is no problem with Process Definition. My Implementation classes were implementing the ActivityBehavior interface instead of JavaDelegate interface. Only the first task is implementing the JavaDelegate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whichever has implementation&amp;nbsp;for JavaDelegate interface, ran successfully and which has ActivityBehavior implementation did not run.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After changing everything to JavaDelegate implementation, everything is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the difference between them and can't we use interchangeably?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2018 00:48:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/only-one-service-task-is-executed/m-p/15289#M6761</guid>
      <dc:creator>gopi_chitturi</dc:creator>
      <dc:date>2018-12-11T00:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: Only one service task is executed</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/only-one-service-task-is-executed/m-p/15290#M6762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is from the user guide, sounds like they are quite different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV class="" style="color: #222222; background-color: #ffffff;"&gt;&lt;DIV class=""&gt;&lt;P style="font-weight: normal; font-size: 1em; margin: 0px 0px 0.75em;"&gt;&lt;A href="https://www.activiti.org/userguide/#internal" style="color: #00579e; background: transparent; text-decoration: none;" rel="nofollow noopener noreferrer"&gt;[INTERNAL: non-public implementation classes]&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;It is also possible to provide a class that implements the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;org.activiti.engine.impl.pvm.delegate.ActivityBehavior&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;interface. Implementations have then access to the more powerful&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;ActivityExecution&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;that for example also allows to influence the control flow of the process. Note however that this is not a very good practice, and should be avoided as much as possible. So, it is advised to use the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;ActivityBehavior&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;interface only for advanced use cases and if you know exactly what you’re doing.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2018 08:34:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/only-one-service-task-is-executed/m-p/15290#M6762</guid>
      <dc:creator>pault</dc:creator>
      <dc:date>2018-12-11T08:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: Only one service task is executed</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/only-one-service-task-is-executed/m-p/15291#M6763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;B&gt;PaulT _&lt;/B&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2018 18:38:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/only-one-service-task-is-executed/m-p/15291#M6763</guid>
      <dc:creator>gopi_chitturi</dc:creator>
      <dc:date>2018-12-12T18:38:45Z</dc:date>
    </item>
  </channel>
</rss>

