<?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: Completing a task does not continue process in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/completing-a-task-does-not-continue-process/m-p/63405#M39754</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;Did you look at the Tomcat log file to look if you see any error messages?&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>Mon, 16 May 2011 09:20:04 GMT</pubDate>
    <dc:creator>trademak</dc:creator>
    <dc:date>2011-05-16T09:20:04Z</dc:date>
    <item>
      <title>Completing a task does not continue process</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/completing-a-task-does-not-continue-process/m-p/63400#M39749</link>
      <description>Hi,I am completing a task from a second process engine instance.Neither calling TaskService.Complete nor calling FormService.submitTaskFormData continues the process.Completing the task in the Activiti Explorer works.What am I doing wrong?</description>
      <pubDate>Thu, 12 May 2011 15:05:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/completing-a-task-does-not-continue-process/m-p/63400#M39749</guid>
      <dc:creator>kaech</dc:creator>
      <dc:date>2011-05-12T15:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: Completing a task does not continue process</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/completing-a-task-does-not-continue-process/m-p/63401#M39750</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;From what you explain here it's a bit hard to comment.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you add the Java code where you do this, add the bpmn20.xml and explain what you mean with a "second" process engine instance?&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>Fri, 13 May 2011 06:59:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/completing-a-task-does-not-continue-process/m-p/63401#M39750</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2011-05-13T06:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: Completing a task does not continue process</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/completing-a-task-does-not-continue-process/m-p/63402#M39751</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;unfortunately I am not able to send you the source.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But actually the process is very simple. Just like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;start -&amp;gt; script1-&amp;gt; usertask1 -&amp;gt; usertask2 -&amp;gt; script2 -&amp;gt; end&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The process is deployed using Activiti Explorer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We implemented a web application (war) that exposes some operations via SOAP, e.g. FormService.submitTaskData, to external clients (.NET, Swing, etc.), so that they can update form properties and interact with the process. This war is deployed on the same Tomcat as Actitiviti itself. That's what I meant with second web application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Everything works fine except that lwhen usertask2 is completed (via FormService.submitUserTaskData or TaskService.complete called from within our web service) the process does not continue with script2. Going from usertask1 to usertask2 works. When I complete usertask2 from within Activiti Explorer script2 is executed as well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Very strange.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is the best way to check the state of the process using Actitviti probe?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do I probably have to call RuntimeService.signal? to trigger the process to continue?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas would be very much appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2011 08:32:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/completing-a-task-does-not-continue-process/m-p/63402#M39751</guid>
      <dc:creator>kaech</dc:creator>
      <dc:date>2011-05-13T08:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: Completing a task does not continue process</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/completing-a-task-does-not-continue-process/m-p/63403#M39752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When completing a task, the next step should be executed automatically (your scripttask2) so no need to signal. In probe, you should have a look at theACT_RU_EXECUTION, which contains current activity for the execution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does the thread that triggers the usertask2 complete return, or is it stuck waiting?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2011 09:50:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/completing-a-task-does-not-continue-process/m-p/63403#M39752</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2011-05-13T09:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: Completing a task does not continue process</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/completing-a-task-does-not-continue-process/m-p/63404#M39753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is is unlikely because the transition from usertask1 to usertask 2 works. Maybe it has to do with the fact that script2 is a groovy script task?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I find out whether the thread is stuck?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I see in ACT_RU_EXECUTION is this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ID_ 6516&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PROC_INST_ID_ 6516&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;BUSINESS_KEY_ null&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PARENT_ID_ null&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PROC_DEF_ID_ myprocess:4524&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SUPER_EXEC_ null&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ACT_ID_ script2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IS_ACTIVE_ true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IS_CONCURRENT_ false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IS_SCOPE_ true&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To me that looks quite normal. But the process is not continued.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2011 06:21:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/completing-a-task-does-not-continue-process/m-p/63404#M39753</guid>
      <dc:creator>kaech</dc:creator>
      <dc:date>2011-05-16T06:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: Completing a task does not continue process</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/completing-a-task-does-not-continue-process/m-p/63405#M39754</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;Did you look at the Tomcat log file to look if you see any error messages?&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>Mon, 16 May 2011 09:20:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/completing-a-task-does-not-continue-process/m-p/63405#M39754</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2011-05-16T09:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: Completing a task does not continue process</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/completing-a-task-does-not-continue-process/m-p/63406#M39755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I checked the Tomcat log.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I complete the usertask2 using Activiti Explorer it shows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;FINE: — starting CompleteTaskCmd ——————————————————–&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;May 16, 2011 1:58:58 PM org.activiti.engine.impl.bpmn.behavior.BpmnActivityBehavior performOutgoingBehavior&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FINE: Leaving activity 'usertask2'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;May 16, 2011 1:58:58 PM org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionNotifyListenerTake execute&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FINE: ProcessInstance[6727] takes transition (usertask2)–flow5–&amp;gt;(script2)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;May 16, 2011 1:58:58 PM org.activiti.engine.impl.pvm.runtime.AtomicOperationActivityExecute execute&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FINE: ProcessInstance[6727] executes Activity(script2): org.activiti.engine.impl.bpmn.behavior.ScriptTaskActivityBehavior&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;May 16, 2011 1:58:58 PM org.activiti.engine.impl.bpmn.behavior.BpmnActivityBehavior performOutgoingBehavior&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FINE: Leaving activity 'script2'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;May 16, 2011 1:58:58 PM org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionNotifyListenerTake execute&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FINE: ProcessInstance[6727] takes transition (script2)–flow1–&amp;gt;(end)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;May 16, 2011 1:58:58 PM org.activiti.engine.impl.pvm.runtime.AtomicOperationActivityExecute execute&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FINE: ProcessInstance[6727] executes Activity(end): org.activiti.engine.impl.bpmn.behavior.NoneEndEventActivityBehavior&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;May 16, 2011 1:58:58 PM org.activiti.engine.impl.runtime.ExecutionEntity destroy&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FINE: destroying ProcessInstance[6727]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I complete the usertask2 using the Web Service call of our custom web app it shows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;FINE: — starting CompleteTaskCmd ——————————————————–&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;May 16, 2011 1:15:57 PM org.activiti.engine.impl.bpmn.behavior.BpmnActivityBehavior performOutgoingBehavior&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FINE: Leaving activity 'usertask2'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;May 16, 2011 1:15:57 PM org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionNotifyListenerTake execute&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FINE: ProcessInstance[6710] takes transition (usertask2)–flow5–&amp;gt;(script2)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;May 16, 2011 1:15:57 PM org.activiti.engine.impl.pvm.runtime.AtomicOperationActivityExecute execute&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FINE: ProcessInstance[6710] executes Activity(script2): org.activiti.engine.impl.bpmn.behavior.ScriptTaskActivityBehavior&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;May 16, 2011 1:15:59 PM org.activiti.engine.impl.jobexecutor.JobAcquisitionThread run&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FINE: job acquisition thread woke up&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;May 16, 2011 1:15:59 PM org.activiti.engine.impl.interceptor.LogInterceptor execute&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FINE:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;May 16, 2011 1:15:59 PM org.activiti.engine.impl.interceptor.LogInterceptor execute&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It doesn't seem to leave script2.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When I change the flow so that after usertask2 the process continues with the task end, everything works fine and the process instance disappears from ACT_RU_EXECUTION.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The script task simply writes a log message to the console via groovy out&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;rint.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2011 12:13:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/completing-a-task-does-not-continue-process/m-p/63406#M39755</guid>
      <dc:creator>kaech</dc:creator>
      <dc:date>2011-05-16T12:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: Completing a task does not continue process</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/completing-a-task-does-not-continue-process/m-p/63407#M39756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am still looking for a solution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Help would be appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2011 15:09:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/completing-a-task-does-not-continue-process/m-p/63407#M39756</guid>
      <dc:creator>kaech</dc:creator>
      <dc:date>2011-05-18T15:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: Completing a task does not continue process</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/completing-a-task-does-not-continue-process/m-p/63408#M39757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;it's kind of hard for us to help you if you cannot show what you do. Making a minimal testcase that demonstrates the problem is what you should at least do. Besides that, you assume things like 'it is unlikely the thread is stuck since the transistion from usertask 1 to 2 is taken…' but if it does not return AFTER that, it still is kind of stuck. Maybe you should set the log level to finest to see more details… or….&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2011 17:16:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/completing-a-task-does-not-continue-process/m-p/63408#M39757</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2011-05-18T17:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: Completing a task does not continue process</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/completing-a-task-does-not-continue-process/m-p/63409#M39758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Indeed, a small test-case reproducing this problem would help alot…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2011 13:59:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/completing-a-task-does-not-continue-process/m-p/63409#M39758</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2011-05-20T13:59:15Z</dc:date>
    </item>
  </channel>
</rss>

