<?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 Re: Ending a userTask from a TimerEvent using the task.endTask(transitionId) method in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/ending-a-usertask-from-a-timerevent-using-the-task-endtask/m-p/131078#M92096</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi frederikheremans,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What needs to happen when the timer fires is to &lt;/SPAN&gt;&lt;STRONG&gt;close&lt;/STRONG&gt;&lt;SPAN&gt; that respective task and move to the next task inline. This is an escalation process, if a user does not complete his task within the given time, they are escalated to a higher level (manager or supervisor).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As I read on the use of the endTask() method, it is supposed to close a task and continue with the flow.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope this help give you a picture of what I need to do.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;DarkRedd&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Apr 2013 07:58:26 GMT</pubDate>
    <dc:creator>darkredd1</dc:creator>
    <dc:date>2013-04-23T07:58:26Z</dc:date>
    <item>
      <title>Ending a userTask from a TimerEvent using the task.endTask(transitionId) method</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ending-a-usertask-from-a-timerevent-using-the-task-endtask/m-p/131076#M92094</link>
      <description>Hi to all,I am working on a workflow that has a multiInstance process, I have a requirement to escalate a task if not complete in time (specified).I am using a timerEvent to trigger this action. However, the task does not end using the endTask() method. Here is a snippet code of what we are working</description>
      <pubDate>Mon, 22 Apr 2013 06:10:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ending-a-usertask-from-a-timerevent-using-the-task-endtask/m-p/131076#M92094</guid>
      <dc:creator>darkredd1</dc:creator>
      <dc:date>2013-04-22T06:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: Ending a userTask from a TimerEvent using the task.endTask(transitionId) method</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ending-a-usertask-from-a-timerevent-using-the-task-endtask/m-p/131077#M92095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What do you mean by "it does not know where to go after the endTask method"? You shouldn't signal the paths yourself from within the workflow, this will not work. Completing a task from within the flow (executionListener) will cause issues because you try to influence the process flow.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is the use case of this alfresco-process. What do you want to do with the task when the timer fires?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Apr 2013 10:10:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ending-a-usertask-from-a-timerevent-using-the-task-endtask/m-p/131077#M92095</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-04-22T10:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: Ending a userTask from a TimerEvent using the task.endTask(transitionId) method</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ending-a-usertask-from-a-timerevent-using-the-task-endtask/m-p/131078#M92096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi frederikheremans,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What needs to happen when the timer fires is to &lt;/SPAN&gt;&lt;STRONG&gt;close&lt;/STRONG&gt;&lt;SPAN&gt; that respective task and move to the next task inline. This is an escalation process, if a user does not complete his task within the given time, they are escalated to a higher level (manager or supervisor).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As I read on the use of the endTask() method, it is supposed to close a task and continue with the flow.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope this help give you a picture of what I need to do.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;DarkRedd&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2013 07:58:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ending-a-usertask-from-a-timerevent-using-the-task-endtask/m-p/131078#M92096</guid>
      <dc:creator>darkredd1</dc:creator>
      <dc:date>2013-04-23T07:58:26Z</dc:date>
    </item>
    <item>
      <title>Re: Ending a userTask from a TimerEvent using the task.endTask(transitionId) method</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ending-a-usertask-from-a-timerevent-using-the-task-endtask/m-p/131079#M92097</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;Additional information about the error I'm getting:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ERROR [org.springframework.transaction.support.TransactionSynchronizationUtils] TransactionSynchronization.afterCompletion threw exception&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;java.lang.IllegalStateException: No value for key [org.apache.ibatis.session.defaults.DefaultSqlSessionFactory@862cb1] bound to thread [pool-5-thread-1]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.springframework.transaction.support.TransactionSynchronizationManager.unbindResource(TransactionSynchronizationManager.java:199)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.mybatis.spring.SqlSessionUtils$SqlSessionSynchronization.suspend(SqlSessionUtils.java:243)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.springframework.transaction.support.AbstractPlatformTransactionManager.doSuspendSynchronization(AbstractPlatformTransactionManager.java:666)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.springframework.transaction.support.AbstractPlatformTransactionManager.suspend(AbstractPlatformTransactionManager.java:569)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.springframework.transaction.support.AbstractPlatformTransactionManager.handleExistingTransaction(AbstractPlatformTransactionManager.java:418)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:347)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:127)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:40)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.jobexecutor.DecrementJobRetriesListener.execute(DecrementJobRetriesListener.java:38)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.spring.SpringTransactionContext$4.afterCompletion(SpringTransactionContext.java:82)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.springframework.transaction.support.TransactionSynchronizationUtils.invokeAfterCompletion(TransactionSynchronizationUtils.java:168)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.springframework.transaction.support.AbstractPlatformTransactionManager.invokeAfterCompletion(AbstractPlatformTransactionManager.java:996)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.springframework.transaction.support.AbstractPlatformTransactionManager.triggerAfterCompletion(AbstractPlatformTransactionManager.java:971)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.springframework.transaction.support.AbstractPlatformTransactionManager.processRollback(AbstractPlatformTransactionManager.java:874)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.springframework.transaction.support.AbstractPlatformTransactionManager.rollback(AbstractPlatformTransactionManager.java:822)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.springframework.transaction.support.TransactionTemplate.rollbackOnException(TransactionTemplate.java:161)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:134)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:40)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.jobexecutor.ExecuteJobsRunnable.run(ExecuteJobsRunnable.java:36)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at java.lang.Thread.run(Thread.java:662)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The about exception is thrown after the timer fires.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2013 08:48:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ending-a-usertask-from-a-timerevent-using-the-task-endtask/m-p/131079#M92097</guid>
      <dc:creator>darkredd1</dc:creator>
      <dc:date>2013-04-23T08:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: Ending a userTask from a TimerEvent using the task.endTask(transitionId) method</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ending-a-usertask-from-a-timerevent-using-the-task-endtask/m-p/131080#M92098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If the boundary-timer event has a "cancelActivity = true", the task will be automatically ended/deleted. Will the other multi-instance task keep on running? That case, you should model a sub-process containing the escalation-chain (task1 with boundry-timer -&amp;gt; escalated task). That subprocess is that equipped with "multi-instance" characteristics, so the whole "escalation chain" is repeated instead of the initial task.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So you do NOT end tasks yourself, you rely on activiti to do this… Does this make sense?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2013 09:30:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ending-a-usertask-from-a-timerevent-using-the-task-endtask/m-p/131080#M92098</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-04-24T09:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: Ending a userTask from a TimerEvent using the task.endTask(transitionId) method</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ending-a-usertask-from-a-timerevent-using-the-task-endtask/m-p/131081#M92099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It makes a lot of sense. Let me try out your suggestion and see if we can get it going.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the reply.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2013 10:14:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ending-a-usertask-from-a-timerevent-using-the-task-endtask/m-p/131081#M92099</guid>
      <dc:creator>darkredd1</dc:creator>
      <dc:date>2013-04-24T10:14:06Z</dc:date>
    </item>
  </channel>
</rss>

