<?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 Using expressions in Time Cycle of Timer Start Event  in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/using-expressions-in-time-cycle-of-timer-start-event/m-p/181058#M134188</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;&amp;nbsp; I tried to define the Time Cycle property of a Timer Start Event as an expression calling a bean method.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; The purpose is to avoid hard-coding the cron expression in the diagram but also to read the configuration at Activiti startup, so that it would be possible to change a new schedulation without redeploying the diagram.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Unfortunately for me Activiti BPM resolves the expression in Time Cycle only once, that is when the BPM diagram is redeployed and the relevant timer job gets created.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Is there a solution to avoid redeploying the diagram just to change the schedulation underlying a Timer Start Event?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; The first idea that came to me was to give completely up the use of Timer Start Event in favor of an external scheduler such as Quartz.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; The second chance was to continue with the approach of expression in Time Cycle property and trigger a redeploy of the process on the time configuration changes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Another possibility could be to rebuild the Timer Job associated to the process.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Has anyone else out there faced a similar problem?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Regards.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 May 2015 01:03:52 GMT</pubDate>
    <dc:creator>andrealuciano71</dc:creator>
    <dc:date>2015-05-08T01:03:52Z</dc:date>
    <item>
      <title>Using expressions in Time Cycle of Timer Start Event</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/using-expressions-in-time-cycle-of-timer-start-event/m-p/181058#M134188</link>
      <description>Hi,&amp;nbsp; I tried to define the Time Cycle property of a Timer Start Event as an expression calling a bean method.&amp;nbsp; The purpose is to avoid hard-coding the cron expression in the diagram but also to read the configuration at Activiti startup, so that it would be possible to change a new schedulation with</description>
      <pubDate>Fri, 08 May 2015 01:03:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/using-expressions-in-time-cycle-of-timer-start-event/m-p/181058#M134188</guid>
      <dc:creator>andrealuciano71</dc:creator>
      <dc:date>2015-05-08T01:03:52Z</dc:date>
    </item>
    <item>
      <title>Re: Using expressions in Time Cycle of Timer Start Event</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/using-expressions-in-time-cycle-of-timer-start-event/m-p/181059#M134189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Currently it's only executed at deployment that's correct. That's because the timer job is created once at that time. So what kind of functionality would you like instead?&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, 13 May 2015 13:11:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/using-expressions-in-time-cycle-of-timer-start-event/m-p/181059#M134189</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2015-05-13T13:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: Using expressions in Time Cycle of Timer Start Event</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/using-expressions-in-time-cycle-of-timer-start-event/m-p/181060#M134190</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;&amp;nbsp; I was looking into the possibility to change the schedulation of a process without deploying the process again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; As the current implementation of timer start event in Activiti seems to lack this option, I was wondering if someone else had experimented an alternative solution in a similar case.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Kind regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Andrea&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 19:25:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/using-expressions-in-time-cycle-of-timer-start-event/m-p/181060#M134190</guid>
      <dc:creator>andrealuciano71</dc:creator>
      <dc:date>2015-05-13T19:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: Using expressions in Time Cycle of Timer Start Event</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/using-expressions-in-time-cycle-of-timer-start-event/m-p/181061#M134191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can update the due date in the ACT_RU_TABLE or through the Job entity in Java if you need to change the date of when the process will be started.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2015 15:11:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/using-expressions-in-time-cycle-of-timer-start-event/m-p/181061#M134191</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-05-18T15:11:50Z</dc:date>
    </item>
  </channel>
</rss>

