<?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 Different BPMN version when setting jobExecutorActivate in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/different-bpmn-version-when-setting-jobexecutoractivate/m-p/63043#M39465</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I found that I missed the &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;property name="jobExecutorActivate" value="true" /&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;to activate my timers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But when I added the property, I got an error with a task that no longer exists in my BPMN file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Debugging the ExecutionEntity, I saw that it was using a really old BPMN xml file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In short: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When running with jobExecutorActivate=true, Activiti is taking the newest BPMN.xml version.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When running with jobExecutorActivate=false, Activiti takes &lt;/SPAN&gt;&lt;SPAN style="text-decoration: underline;"&gt;a random(?)&lt;/SPAN&gt;&lt;SPAN&gt; old BPMN.xml version.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any clue?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;TIA!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;rufini&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Oct 2011 17:47:35 GMT</pubDate>
    <dc:creator>rufini</dc:creator>
    <dc:date>2011-10-18T17:47:35Z</dc:date>
    <item>
      <title>Different BPMN version when setting jobExecutorActivate</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/different-bpmn-version-when-setting-jobexecutoractivate/m-p/63043#M39465</link>
      <description>Hi!I found that I missed the &amp;lt;property name="jobExecutorActivate" value="true" /&amp;gt;‍to activate my timers.But when I added the property, I got an error with a task that no longer exists in my BPMN file.Debugging the ExecutionEntity, I saw that it was using a really old BPMN xml file.In short: Wh</description>
      <pubDate>Tue, 18 Oct 2011 17:47:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/different-bpmn-version-when-setting-jobexecutoractivate/m-p/63043#M39465</guid>
      <dc:creator>rufini</dc:creator>
      <dc:date>2011-10-18T17:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: Different BPMN version when setting jobExecutorActivate</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/different-bpmn-version-when-setting-jobexecutoractivate/m-p/63044#M39466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You contradict yourself in this post. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But activating the jobexecutor could cause realy, realy old timers to fire if it was never on before. Timers that have no corresponding (old) definition anymore.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2011 17:55:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/different-bpmn-version-when-setting-jobexecutoractivate/m-p/63044#M39466</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2011-10-18T17:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: Different BPMN version when setting jobExecutorActivate</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/different-bpmn-version-when-setting-jobexecutoractivate/m-p/63045#M39467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi ronald, thanks for your reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I will explain again my problem:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Imagine a myFlow.bpmn20.xml with 2 tasks: taskOne and taskTwo. If you do a SELECT * FROM ACT_RE_PROCDEF, you will see that it appears with a version=1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Three months later, the myFlow.bpmn20.xml was really updated, and has only 1 task called taskOne. If you do a SELECT * FROM ACT_RE_PROCDEF, you will see that there's a lot of myFlow.bpmn20.xml entries, and the latest is version=100&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I run my app with jobExecutorActivate=false, Activiti uses the version 100 and it works OK&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If I run my app with jobExecutorActivate=true, Activiti uses the version 1 (or 2 or 7) and tries to execute a method that existed in the version=1 but not in the latest version (100).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(I found which version uses Activiti debugging ExecutionEntity)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any suggestions?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2011 18:35:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/different-bpmn-version-when-setting-jobexecutoractivate/m-p/63045#M39467</guid>
      <dc:creator>rufini</dc:creator>
      <dc:date>2011-10-18T18:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: Different BPMN version when setting jobExecutorActivate</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/different-bpmn-version-when-setting-jobexecutoractivate/m-p/63046#M39468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;in your original post:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;When running with jobExecutorActivate=&lt;STRONG&gt;true&lt;/STRONG&gt;, Activiti is taking the &lt;STRONG&gt;newest&lt;/STRONG&gt; BPMN.xml version.&lt;BR /&gt;When running with jobExecutorActivate=&lt;STRONG&gt;false&lt;/STRONG&gt;, Activiti takes a random(?) &lt;STRONG&gt;old&lt;/STRONG&gt; BPMN.xml version.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;in this post:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;If I run my app with jobExecutorActivate=&lt;STRONG&gt;false&lt;/STRONG&gt;, Activiti uses the version &lt;STRONG&gt;100&lt;/STRONG&gt; and it works OK&lt;BR /&gt;If I run my app with jobExecutorActivate=&lt;STRONG&gt;true&lt;/STRONG&gt;, Activiti uses the version&lt;STRONG&gt; 1 (or 2 or 7)&lt;/STRONG&gt; and tries to execute a method that existed in the version=1 but not in the latest version (100).&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Again a contradiction… Assuming the latter is correct, the behaviour you see is to be expected if these processes were started long ago, have timers and are those timers are only executed now. If this happens for newly started processes, something weird is going on, but then you need to provide logging that shows weird things are going on. I (we) have little possibility to duplicate it and it is so fundamental that others would have reported similar things. Can you make a unittest that demonstrates this problem?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2011 22:12:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/different-bpmn-version-when-setting-jobexecutoractivate/m-p/63046#M39468</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2011-10-18T22:12:21Z</dc:date>
    </item>
  </channel>
</rss>

