<?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: Problem in execution order with activiti 5.12 in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/problem-in-execution-order-with-activiti-5-12/m-p/126740#M89146</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've checked the project you attached and the listeners are indeed called before the service-task in 5.12. When changing back to 5.11, the order is the other way around. I've created an issue for this: &lt;/SPAN&gt;&lt;A href="https://jira.codehaus.org/browse/ACT-1657" rel="nofollow noopener noreferrer"&gt;https://jira.codehaus.org/browse/ACT-1657&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the future when attaching unit-tests, can you make sure you don't depend on internal artifacts (eg. the bpmn-validator maven plugin) and have the minimal amount of code and dependencies to reproduce the problem.&amp;nbsp; Also, maybe it's better to create a unit-test that actually fails &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://connect.hyland.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't really see on first sight what is wrong, I'll investigate. Thanks for reporting.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Apr 2013 07:18:29 GMT</pubDate>
    <dc:creator>frederikherema1</dc:creator>
    <dc:date>2013-04-19T07:18:29Z</dc:date>
    <item>
      <title>Problem in execution order with activiti 5.12</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-in-execution-order-with-activiti-5-12/m-p/126739#M89145</link>
      <description>In the attached txt file (really a zip file) there a simple project to show the problemIt seems that starting from version 5.12 if you have a process with a serviceTask followed by an eventBasedGateway with an executionListener inside, the listener inside the gateway is executed before the ServiceTa</description>
      <pubDate>Thu, 18 Apr 2013 13:45:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-in-execution-order-with-activiti-5-12/m-p/126739#M89145</guid>
      <dc:creator>acanalini</dc:creator>
      <dc:date>2013-04-18T13:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in execution order with activiti 5.12</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-in-execution-order-with-activiti-5-12/m-p/126740#M89146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've checked the project you attached and the listeners are indeed called before the service-task in 5.12. When changing back to 5.11, the order is the other way around. I've created an issue for this: &lt;/SPAN&gt;&lt;A href="https://jira.codehaus.org/browse/ACT-1657" rel="nofollow noopener noreferrer"&gt;https://jira.codehaus.org/browse/ACT-1657&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the future when attaching unit-tests, can you make sure you don't depend on internal artifacts (eg. the bpmn-validator maven plugin) and have the minimal amount of code and dependencies to reproduce the problem.&amp;nbsp; Also, maybe it's better to create a unit-test that actually fails &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://connect.hyland.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't really see on first sight what is wrong, I'll investigate. Thanks for reporting.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Apr 2013 07:18:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-in-execution-order-with-activiti-5-12/m-p/126740#M89146</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-04-19T07:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in execution order with activiti 5.12</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-in-execution-order-with-activiti-5-12/m-p/126741#M89147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Fixed, see &lt;/SPAN&gt;&lt;A href="https://jira.codehaus.org/browse/ACT-1657" rel="nofollow noopener noreferrer"&gt;https://jira.codehaus.org/browse/ACT-1657&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The child-elements of the eventBasedGateway XML-tag were not read by the XML-converter. When this coverer was finished, the main-conversion carried on and found the "extensionElements" tag and uses it on the Process instead of the EventGateway object. This explains why the execution-listener is called before the service-task (called on process-start). The parsing was different in 5.11, and this slipped through our QA.&lt;BR /&gt;See &lt;A href="https://github.com/Activiti/Activiti/commit/db63b665f13b84c1844c95c06f2216caeee9a691" rel="nofollow noopener noreferrer"&gt;https://github.com/Activiti/Activiti/commit/db63b665f13b84c1844c95c06f2216caeee9a691&lt;/A&gt;&lt;BR /&gt;Workaround is to add the execution-listeners to the sequence-flow in front of the gateway.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Apr 2013 09:25:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-in-execution-order-with-activiti-5-12/m-p/126741#M89147</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-04-19T09:25:20Z</dc:date>
    </item>
  </channel>
</rss>

