<?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 Task with Repeat Timer e.g. 'R/T02-07/P1D' creates new job every entry in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/task-with-repeat-timer-e-g-r-t02-07-p1d-creates-new-job-every/m-p/175178#M128308</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Find attached a simplified model regarding the issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;** Behavior **&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Every time we loop back to the timer task a new row is added to the ACT_RU_JOB table.&amp;nbsp; The prior timer due-date row is not removed but appears to be executed anyway because RETRIES_ is reduced to 0 and there is a value for EXCEPTION_STACK_ID.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This "old row causes exception" behavior seems consistent within unit tests as well.&amp;nbsp; To unit test my model I have a ManagementService query for timers.&amp;nbsp; Calling executeJob for any Job but the most recent entry causes an exception.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;** Model **&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We are using a repeat timer "&amp;lt;timeCycle&amp;gt;R/T02-07/P1D&amp;lt;/timeCycle&amp;gt;" to have instances check external business state while server load is low (regardless of when the instance actually started).&amp;nbsp; Depending on state, each instance may either; transition to one of two UserTasks, or circle back around to the "daily timer" &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;** Questions **&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) It seems the every-growing ACT_RU_JOB table with its evidence of exceptions will incur a performance penalty for large numbers of long-running instances.&amp;nbsp; Am I doing something wrong with the timer spec?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Should I use something different to achieve the run "once-a-day-at-0200" behavior?&amp;nbsp; (I've avoided using a BoundaryTimer because the designer keeps hosing the model).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Mar 2014 17:19:06 GMT</pubDate>
    <dc:creator>leggebroten</dc:creator>
    <dc:date>2014-03-11T17:19:06Z</dc:date>
    <item>
      <title>Task with Repeat Timer e.g. 'R/T02-07/P1D' creates new job every entry</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/task-with-repeat-timer-e-g-r-t02-07-p1d-creates-new-job-every/m-p/175178#M128308</link>
      <description>Find attached a simplified model regarding the issue.** Behavior **Every time we loop back to the timer task a new row is added to the ACT_RU_JOB table.&amp;nbsp; The prior timer due-date row is not removed but appears to be executed anyway because RETRIES_ is reduced to 0 and there is a value for EXCEPTION_</description>
      <pubDate>Tue, 11 Mar 2014 17:19:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/task-with-repeat-timer-e-g-r-t02-07-p1d-creates-new-job-every/m-p/175178#M128308</guid>
      <dc:creator>leggebroten</dc:creator>
      <dc:date>2014-03-11T17:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: Task with Repeat Timer e.g. 'R/T02-07/P1D' creates new job every entry</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/task-with-repeat-timer-e-g-r-t02-07-p1d-creates-new-job-every/m-p/175179#M128309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;** More Behavior **&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Deleting the instance does NOT REMOVE the timer instances from ACT_RU_JOB.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;** Questions **&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) I deleted the instance via the ActivitiExplorer.&amp;nbsp; Am I doing something wrong?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 17:34:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/task-with-repeat-timer-e-g-r-t02-07-p1d-creates-new-job-every/m-p/175179#M128309</guid>
      <dc:creator>leggebroten</dc:creator>
      <dc:date>2014-03-11T17:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: Task with Repeat Timer e.g. 'R/T02-07/P1D' creates new job every entry</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/task-with-repeat-timer-e-g-r-t02-07-p1d-creates-new-job-every/m-p/175180#M128310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When you create a unit test like described in my other post, we'll validate this as well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Timers should always be removed when a process instance is deleted.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2014 12:38:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/task-with-repeat-timer-e-g-r-t02-07-p1d-creates-new-job-every/m-p/175180#M128310</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2014-03-12T12:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: Task with Repeat Timer e.g. 'R/T02-07/P1D' creates new job every entry</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/task-with-repeat-timer-e-g-r-t02-07-p1d-creates-new-job-every/m-p/175181#M128311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Test case and jira ticket submitted.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://jira.codehaus.org/browse/ACT-1949" rel="nofollow noopener noreferrer"&gt;http://jira.codehaus.org/browse/ACT-1949&lt;/A&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Mar 2014 00:25:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/task-with-repeat-timer-e-g-r-t02-07-p1d-creates-new-job-every/m-p/175181#M128311</guid>
      <dc:creator>leggebroten</dc:creator>
      <dc:date>2014-03-13T00:25:22Z</dc:date>
    </item>
  </channel>
</rss>

