<?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: Boundary timer event not firing (jobExecutorActivate=true) in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/boundary-timer-event-not-firing-jobexecutoractivate-true/m-p/167873#M121368</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Gavin,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is jUnit test testing boundary events on user task in activiti sources. e.g.&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;org.activiti.engine.test.bpmn.event.timer.BoundaryTimerEventTest#testMultipleTimersOnUserTask&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;I am pretty sure that the same test is in 5.12. You can try to find it and run it. - May be it helps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Jan 2014 07:37:09 GMT</pubDate>
    <dc:creator>martin_grofcik</dc:creator>
    <dc:date>2014-01-30T07:37:09Z</dc:date>
    <item>
      <title>Boundary timer event not firing (jobExecutorActivate=true)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/boundary-timer-event-not-firing-jobexecutoractivate-true/m-p/167869#M121364</link>
      <description>Hi I'm having a problem with a boundary timer event not firing.&amp;nbsp; I realize the typical issue for this is &amp;lt;property name="jobExecutorActivate" value="true"/&amp;gt; has not been set to true.&amp;nbsp; That is not the issue here.Below is a snipit of code from my bpmn file.&amp;nbsp; The flow arrives at the user task and</description>
      <pubDate>Tue, 28 Jan 2014 16:05:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/boundary-timer-event-not-firing-jobexecutoractivate-true/m-p/167869#M121364</guid>
      <dc:creator>gavnunns</dc:creator>
      <dc:date>2014-01-28T16:05:59Z</dc:date>
    </item>
    <item>
      <title>Re: Boundary timer event not firing (jobExecutorActivate=true)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/boundary-timer-event-not-firing-jobexecutoractivate-true/m-p/167870#M121365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;userTask id="waitingForSecondPayment" name="Waiting For Second Payment" activiti:candidateGroups="ROLE_REQUESTOR"&amp;gt;&amp;lt;/userTask&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sequenceFlow id="flow6" sourceRef="notifySecondPayment" targetRef="waitingForSecondPayment"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;boundaryEvent id="boundarytimer1" name="Timer" attachedToRef="waitingForSecondPayment" cancelActivity="true"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;timerEventDefinition&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;timeDuration&amp;gt;PT2S&amp;lt;/timeDuration&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/timerEventDefinition&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/boundaryEvent&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;serviceTask id="notifyArchivedNo2ndPayment" name="Archived No 2nd Payment" activiti:type="mail"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jan 2014 16:08:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/boundary-timer-event-not-firing-jobexecutoractivate-true/m-p/167870#M121365</guid>
      <dc:creator>gavnunns</dc:creator>
      <dc:date>2014-01-28T16:08:40Z</dc:date>
    </item>
    <item>
      <title>Re: Boundary timer event not firing (jobExecutorActivate=true)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/boundary-timer-event-not-firing-jobexecutoractivate-true/m-p/167871#M121366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Gavin,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I did not find anything wrong there. Advice: Try create jUnit test (you can follow this template:&lt;/SPAN&gt;&lt;A href="http://forums.activiti.org/content/sticky-how-write-unit-test" rel="nofollow noopener noreferrer"&gt;http://forums.activiti.org/content/sticky-how-write-unit-test&lt;/A&gt;&lt;SPAN&gt;). Debug it and find rws in ACT_RU_JOB table it could help you to understand and find the problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 07:46:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/boundary-timer-event-not-firing-jobexecutoractivate-true/m-p/167871#M121366</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2014-01-29T07:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: Boundary timer event not firing (jobExecutorActivate=true)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/boundary-timer-event-not-firing-jobexecutoractivate-true/m-p/167872#M121367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well I'm still baffled, I wrote a unit test and stepped through with debug, it is just not triggering the boundary timer event.&amp;nbsp; I even created a small test flow and the same thing occurred, then I tried placing the boundary event on a sub-process and again, nothing triggered.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What did fix it was upgrading from 5.12 -&amp;gt; 5.14.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 14:27:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/boundary-timer-event-not-firing-jobexecutoractivate-true/m-p/167872#M121367</guid>
      <dc:creator>gavnunns</dc:creator>
      <dc:date>2014-01-29T14:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: Boundary timer event not firing (jobExecutorActivate=true)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/boundary-timer-event-not-firing-jobexecutoractivate-true/m-p/167873#M121368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Gavin,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is jUnit test testing boundary events on user task in activiti sources. e.g.&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;org.activiti.engine.test.bpmn.event.timer.BoundaryTimerEventTest#testMultipleTimersOnUserTask&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;I am pretty sure that the same test is in 5.12. You can try to find it and run it. - May be it helps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 07:37:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/boundary-timer-event-not-firing-jobexecutoractivate-true/m-p/167873#M121368</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2014-01-30T07:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: Boundary timer event not firing (jobExecutorActivate=true)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/boundary-timer-event-not-firing-jobexecutoractivate-true/m-p/167874#M121369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Solved - I got the unit tests working but I was still being baffled when the same bpmn was being run from my activiti engine.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then it dawned on me…. I had two Activiti Engines running and pointing at the same database, a stand alone one and Activiti explorer both with jobExecutorActivate = true, however Activti explorer did not have the correct class path so when it consumed the timed event a error would be thrown and lost in the tomcat logs (which I was not paying any attention too).&amp;nbsp; This also explains why I was getting multiple emails….&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It all makes sense now &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&amp;nbsp; Well at least it forced me to upgrade me to the latest version of Activiti running in all my projects&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll put this one down to user error &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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 19:33:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/boundary-timer-event-not-firing-jobexecutoractivate-true/m-p/167874#M121369</guid>
      <dc:creator>gavnunns</dc:creator>
      <dc:date>2014-01-30T19:33:04Z</dc:date>
    </item>
  </channel>
</rss>

