<?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 Attaching a timer event to a usertask in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/attaching-a-timer-event-to-a-usertask/m-p/124182#M87391</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;I am trying to create a user task which should be visible in the user queue but should automatically move to the next task in the workflow if the timer expires. Below is the code snippet for the same:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;userTask id="testTask" name="Test Task" activiti:candidateGroups="abc"&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;extensionElements&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;nbsp;&amp;nbsp; &amp;lt;activiti:formProperty id="domainEntity" variable="domainEntity" required="true"&amp;gt;&amp;lt;/activiti:formProperty&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;/extensionElements&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/userTask&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;boundaryEvent id="letterTimer" cancelActivity="true" attachedToRef="testTask"&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&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;PT1M&amp;lt;/timeDuration&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &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;lt;/boundaryEvent&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am able to see the task in the candidate group but it doesn't move on to the next task automatically after 1 minute.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Even if I submit the task manually, I get the exception "this activity doesn't accept signals"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help in identifying the issue.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Jul 2013 11:59:52 GMT</pubDate>
    <dc:creator>vigneshr</dc:creator>
    <dc:date>2013-07-16T11:59:52Z</dc:date>
    <item>
      <title>Attaching a timer event to a usertask</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/attaching-a-timer-event-to-a-usertask/m-p/124182#M87391</link>
      <description>Hi,I am trying to create a user task which should be visible in the user queue but should automatically move to the next task in the workflow if the timer expires. Below is the code snippet for the same:&amp;lt;userTask id="testTask" name="Test Task" activiti:candidateGroups="abc"&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;extensi</description>
      <pubDate>Tue, 16 Jul 2013 11:59:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/attaching-a-timer-event-to-a-usertask/m-p/124182#M87391</guid>
      <dc:creator>vigneshr</dc:creator>
      <dc:date>2013-07-16T11:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: Attaching a timer event to a usertask</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/attaching-a-timer-event-to-a-usertask/m-p/124183#M87392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Please wrap all code in "code" tags (see Text format box below the comment-field)…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyway, seems like all you need is a task that is either complete by a person before a certain time OR after the date expires, have the process move on to the next task, skipping the first task.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This can be done by using a timer-boundary event on the first user task, with "cancelActivity = true" as an attribute. The outgoing flow of the timer-boundary event leads to task2, exactly the same as the sequence-flow starting from task1 (effectively having 2 arriving sequence-flows in task2).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;On top of that, when inspecting the process-history (historicActivityInstances), you'll be able to see whether or not the task was completed normally or if the timer was executed.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 12:15:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/attaching-a-timer-event-to-a-usertask/m-p/124183#M87392</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-07-17T12:15:03Z</dc:date>
    </item>
    <item>
      <title>Re: Attaching a timer event to a usertask</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/attaching-a-timer-event-to-a-usertask/m-p/124184#M87393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Tried what you have suggested and it works now. Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jul 2013 06:31:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/attaching-a-timer-event-to-a-usertask/m-p/124184#M87393</guid>
      <dc:creator>vigneshr</dc:creator>
      <dc:date>2013-07-19T06:31:20Z</dc:date>
    </item>
  </channel>
</rss>

