<?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 How to stop Timer Event ? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-stop-timer-event/m-p/133953#M94061</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, all i have requirement when intiator create task after it go to review team for approve or reject. but our requirement is&amp;nbsp; if no review team member claim the task with in time line of timer the task forward back to intiator. if any review team member claim the task then timer event should not work and normally next process will happen……&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but here we facing problem when review member claim the task and he not approved approved the task with in the time line that time timer also start and forward task back to intiator……&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if there is chance to stop or deactivate the timer event………..&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Apr 2013 10:01:18 GMT</pubDate>
    <dc:creator>sivap</dc:creator>
    <dc:date>2013-04-23T10:01:18Z</dc:date>
    <item>
      <title>How to stop Timer Event ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-stop-timer-event/m-p/133953#M94061</link>
      <description>Hi, all i have requirement when intiator create task after it go to review team for approve or reject. but our requirement is&amp;nbsp; if no review team member claim the task with in time line of timer the task forward back to intiator. if any review team member claim the task then timer event should not wo</description>
      <pubDate>Tue, 23 Apr 2013 10:01:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-stop-timer-event/m-p/133953#M94061</guid>
      <dc:creator>sivap</dc:creator>
      <dc:date>2013-04-23T10:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop Timer Event ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-stop-timer-event/m-p/133954#M94062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thanks in advance for reply&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2013 10:04:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-stop-timer-event/m-p/133954#M94062</guid>
      <dc:creator>sivap</dc:creator>
      <dc:date>2013-04-23T10:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop Timer Event ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-stop-timer-event/m-p/133955#M94063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The main problem for this use case is the fact that a timer either cancels the activity it's attached on, or triggers independently and let's the activity live (cancelActivity=true/false). There is also no "timer condition" that allows to "not execute" a timer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A solution I can think of is using a timer-event that DOES NOT cancel the activity initially. Rather, it runs to a service-task that checks if the timer should affect the user-task or not. If the user-task has not been claimed yet at the time the serviceTask is executed, you can throw a error-event (using BPMNError). If you add a subprocess around the user-task and service-task with a catching error-boundary-event on it (with cancelActivity=false), the BPMNError will cause the subprocess to be ended (removing the user-task altogether). You're lucky the weather is nice here in Belguim, I created a diagram-image for you to clarify: &lt;/SPAN&gt;&lt;A href="http://imgur.com/5r6T7E9" rel="nofollow noopener noreferrer"&gt;http://imgur.com/5r6T7E9&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you can't to have the review-task be assigned to the initiator rather than the review-task terminated and have a new task created for the initiator, there is a simpler solution: Have the timer-boundary event NOT cancel the user-task and add a service-task as outcome from the boundary event. There, you can inspect the assignee of the task (using delegateExecution.getEngineervices().getTaskService()….) and alter the assignee in case the assignee has not yet been set. The service-task is ended and reaches it's ow end-event, ending the "forked off" timer trigger. The user-task will remain active and will be assigned to the initiator.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2013 08:14:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-stop-timer-event/m-p/133955#M94063</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-04-24T08:14:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop Timer Event ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-stop-timer-event/m-p/133956#M94064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;OK, do I understand this correctly if the following is true:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you have a ReceiveTask waiting for a message (let us say from JMS) you cannot attach a timer to this task to be able to handle not receiving a message without doing like you advise above?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I other words any timer you attach to such a task *must* trigger and will not be canceled if you receive a message (i.e. normal flow)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is very strange behavior.&amp;nbsp;&amp;nbsp; We are seeing this in our application right now so I guess this is by design.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One should think that having a timer that dies when normal operation of the process is resumed via Signal would be standard?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Am I missing something?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Aug 2013 14:15:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-stop-timer-event/m-p/133956#M94064</guid>
      <dc:creator>ergates</dc:creator>
      <dc:date>2013-08-27T14:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop Timer Event ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-stop-timer-event/m-p/133957#M94065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you want to have events "die" in case other events occur, take a look at the event-based gateway. Of you want to have timer-events that "die" when the userTask/receieveTask is completed, use a boundary event. When the user/receive task completes, the scope surrounding it will be destroyed, destroying any attached boundary-events.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Sep 2013 08:44:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-stop-timer-event/m-p/133957#M94065</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-09-04T08:44:32Z</dc:date>
    </item>
  </channel>
</rss>

