<?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 Timer Catching Event is executing only once even when Interval is Set in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/timer-catching-event-is-executing-only-once-even-when-interval/m-p/242139#M195269</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;SPAN&gt;What is wrong with the following process definition&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;process id="timer_catching_event" name="My process" isExecutable="true"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;endEvent id="endevent1" name="End"&amp;gt;&amp;lt;/endEvent&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;startEvent id="startevent1" name="Start"&amp;gt;&amp;lt;/startEvent&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;intermediateCatchEvent id="timerintermediatecatchevent1" name="TimerCatchEvent"&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;timeCycle&amp;gt;R4/PT10S&amp;lt;/timeCycle&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;/intermediateCatchEvent&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;scriptTask id="scripttask1" name="Script Task" scriptFormat="javascript" activiti:autoStoreVariables="false"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;script&amp;gt;java.lang.System.out.println("Script Task in Timer Catching Example Executed");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;java.lang.System.out.println("Time of Execution");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;java.lang.System.out.println(JSON.stringify(new Date()));&amp;lt;/script&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/scriptTask&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sequenceFlow id="flow1" sourceRef="startevent1" targetRef="timerintermediatecatchevent1"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sequenceFlow id="flow2" sourceRef="timerintermediatecatchevent1" targetRef="scripttask1"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sequenceFlow id="flow3" sourceRef="scripttask1" targetRef="endevent1"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;/process&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The script task is executing only once.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Oct 2016 13:47:07 GMT</pubDate>
    <dc:creator>piyush_kaizen</dc:creator>
    <dc:date>2016-10-25T13:47:07Z</dc:date>
    <item>
      <title>Timer Catching Event is executing only once even when Interval is Set</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/timer-catching-event-is-executing-only-once-even-when-interval/m-p/242139#M195269</link>
      <description>Hi,What is wrong with the following process definition&amp;lt;process id="timer_catching_event" name="My process" isExecutable="true"&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;endEvent id="endevent1" name="End"&amp;gt;&amp;lt;/endEvent&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;startEvent id="startevent1" name="Start"&amp;gt;&amp;lt;/startEvent&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;intermediateCatchEvent id</description>
      <pubDate>Tue, 25 Oct 2016 13:47:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/timer-catching-event-is-executing-only-once-even-when-interval/m-p/242139#M195269</guid>
      <dc:creator>piyush_kaizen</dc:creator>
      <dc:date>2016-10-25T13:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: Timer Catching Event is executing only once even when Interval is Set</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/timer-catching-event-is-executing-only-once-even-when-interval/m-p/242140#M195270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The script will execute only once based on your bpmn20.xml. If you want some looping logic with a time delay, you will need to implement the loop in your bpmn diagram and exit out of the loop based on a loop counter stored in a variable. Another option is to group the activities in your loop in a sub-process and configure the multi-instance properties on the sub-process (&lt;/SPAN&gt;&lt;A href="http://www.activiti.org/userguide/#bpmnMultiInstance" rel="nofollow noopener noreferrer"&gt;http://www.activiti.org/userguide/#bpmnMultiInstance&lt;/A&gt;&lt;SPAN&gt;) according to your requirement.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ciju&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2016 06:16:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/timer-catching-event-is-executing-only-once-even-when-interval/m-p/242140#M195270</guid>
      <dc:creator>cjose</dc:creator>
      <dc:date>2016-10-26T06:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: Timer Catching Event is executing only once even when Interval is Set</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/timer-catching-event-is-executing-only-once-even-when-interval/m-p/242141#M195271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks cjose,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But Then I don't understand what does "R4/PT10S" would do.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;As far as I know R4 means repetition.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What would it repeat then ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2016 06:38:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/timer-catching-event-is-executing-only-once-even-when-interval/m-p/242141#M195271</guid>
      <dc:creator>piyush_kaizen</dc:creator>
      <dc:date>2016-10-26T06:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: Timer Catching Event is executing only once even when Interval is Set</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/timer-catching-event-is-executing-only-once-even-when-interval/m-p/242142#M195272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt; "R4/PT10S" is the notation of repeatability. However I don't think it can be used with an intermediate timer event.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ciju&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2016 08:09:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/timer-catching-event-is-executing-only-once-even-when-interval/m-p/242142#M195272</guid>
      <dc:creator>cjose</dc:creator>
      <dc:date>2016-10-26T08:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: Timer Catching Event is executing only once even when Interval is Set</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/timer-catching-event-is-executing-only-once-even-when-interval/m-p/242143#M195273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks cjose,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you specify&amp;nbsp; where repeatability is allowed and where not&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Eg. In Timer Start Event, Timer Boundary Event and Timer Catching Event …&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2016 09:17:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/timer-catching-event-is-executing-only-once-even-when-interval/m-p/242143#M195273</guid>
      <dc:creator>piyush_kaizen</dc:creator>
      <dc:date>2016-10-26T09:17:29Z</dc:date>
    </item>
    <item>
      <title>Re: Timer Catching Event is executing only once even when Interval is Set</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/timer-catching-event-is-executing-only-once-even-when-interval/m-p/242144#M195274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Him piyush, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;intermediate timer events are acting like "stopwatch"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;see details here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://www.activiti.org/userguide/#bpmnTimerIntermediateEvent" rel="nofollow noopener noreferrer"&gt;http://www.activiti.org/userguide/#bpmnTimerIntermediateEvent&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.activiti.org/userguide/#timerEventDefinitions" rel="nofollow noopener noreferrer"&gt;http://www.activiti.org/userguide/#timerEventDefinitions&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Another good source of examples is the tests we have in the source code. (inspecting these tests you can learn a lot of things about how Activiti is expected to work)&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2016 09:29:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/timer-catching-event-is-executing-only-once-even-when-interval/m-p/242144#M195274</guid>
      <dc:creator>vasile_dirla</dc:creator>
      <dc:date>2016-10-26T09:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: Timer Catching Event is executing only once even when Interval is Set</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/timer-catching-event-is-executing-only-once-even-when-interval/m-p/242145#M195275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks vasile.dirla ,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My question is Timer Catching events don't reoccur if i set Time Cycle as "R4/PT10S".&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2016 09:41:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/timer-catching-event-is-executing-only-once-even-when-interval/m-p/242145#M195275</guid>
      <dc:creator>piyush_kaizen</dc:creator>
      <dc:date>2016-10-26T09:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: Timer Catching Event is executing only once even when Interval is Set</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/timer-catching-event-is-executing-only-once-even-when-interval/m-p/242146#M195276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Piyush,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, you are right the R is ignored in case of an intermediate catch event of type timer. (because the purpose of the intermediate catching event of type timer is to act as a stopwatch.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;so this construction:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;intermediateCatchEvent id="timerintermediatecatchevent1" name="TimerCatchEvent"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;timerEventDefinition&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;timeCycle&amp;gt;R4/PT10S&amp;lt;/timeCycle&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/timerEventDefinition&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/intermediateCatchEvent&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;will ignore the "R4" part of the definition.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Nov 2016 08:29:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/timer-catching-event-is-executing-only-once-even-when-interval/m-p/242146#M195276</guid>
      <dc:creator>vasile_dirla</dc:creator>
      <dc:date>2016-11-01T08:29:00Z</dc:date>
    </item>
  </channel>
</rss>

