0 Replies Latest reply on Jul 18, 2011 4:46 PM by badda

    process not continuing after Human Task

    badda Newbie

      Hello All,

       

      I have a BPMN with  :  User Task -> Task1 ->Task2

      I register 3 handlers as

       

      ksession.getWorkItemManager().registerWorkItemHandler("Human Task", new WSHumanTaskHandler());

       

      ksession.getWorkItemManager().registerWorkItemHandler("WorkTask1",workItemHandler1);

             

      ksession.getWorkItemManager().registerWorkItemHandler("WorkTask2",workItemHandler2)

       

      As part of my test i start MinaTaskServer.   Human Task view shows the task to start/complete...but after i click Complete, i don't see the flow continuing to next Task (suppose to goto workItemHandler1)....any ideas?  

       

      console shows

       

      [2011-07-18 13:27:41,235:debug] Message receieved on server : QueryTasksAssignedAsPotentialOwner

      [2011-07-18 13:27:41,235:debug] Arguments : [poc, en-UK]

      [2011-07-18 13:27:45,775:debug] Message receieved on server : OperationRequest

      [2011-07-18 13:27:45,775:debug] Arguments : [Start, 8, poc]

      [2011-07-18 13:27:45,775:debug] Command receieved on server was operation of type: Start

      [2011-07-18 13:27:45,784:debug] Message receieved on server : QueryTasksAssignedAsPotentialOwner

      [2011-07-18 13:27:45,784:debug] Arguments : [poc, en-UK]

      [2011-07-18 13:27:48,781:debug] Message receieved on server : OperationRequest

      [2011-07-18 13:27:48,781:debug] Arguments : [Complete, 8, poc, null, null]

      [2011-07-18 13:27:48,781:debug] Command receieved on server was operation of type: Complete

      [2011-07-18 13:27:48,788:debug] Message receieved on server : QueryTasksAssignedAsPotentialOwner

      [2011-07-18 13:27:48,788:debug] Arguments : [poc, en-UK]

      [2011-07-18 13:34:04,351:debug] Message receieved on server : RegisterForEventRequest

      [2011-07-18 13:34:04,352:debug] Arguments : [org.jbpm.task.event.TaskEventKey@33a0bb7f, false, org.drools.process.workitem.wsht.WSHumanTaskHandler]

      [2011-07-18 13:34:04,352:debug] Message receieved on server : RegisterForEventRequest

      [2011-07-18 13:34:04,352:debug] Arguments : [org.jbpm.task.event.TaskEventKey@149d90c6, false, org.drools.process.workitem.wsht.WSHumanTaskHandler]

      [2011-07-18 13:34:04,352:debug] Message receieved on server : RegisterForEventRequest

      [2011-07-18 13:34:04,352:debug] Arguments : [org.jbpm.task.event.TaskEventKey@1b992b60, false, org.drools.process.workitem.wsht.WSHumanTaskHandler]

      [2011-07-18 13:34:04,357:debug] Message receieved on server : AddTaskRequest

      [2011-07-18 13:34:04,357:debug] Arguments : [org.jbpm.task.Task@68a23046, null]

      [2011-07-18 13:34:06,708:exception] Uncaught exception on Server

      java.io.IOException: An existing connection was forcibly closed by the remote host

          at sun.nio.ch.SocketDispatcher.read0(Native Method)

          at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:25)

          at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:237)

          at sun.nio.ch.IOUtil.read(IOUtil.java:210)

          at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:236)

          at org.apache.mina.transport.socket.nio.NioProcessor.read(NioProcessor.java:202)

          at org.apache.mina.transport.socket.nio.NioProcessor.read(NioProcessor.java:42)

          at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:620)

          at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:598)

          at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:587)

          at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$400(AbstractPollingIoProcessor.java:61)

          at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:969)

          at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)

          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

          at java.lang.Thread.run(Thread.java:619)

      [2011-07-18 13:34:52,192:debug] Message receieved on server : QueryTasksAssignedAsPotentialOwner

      [2011-07-18 13:34:52,192:debug] Arguments : [poc, en-UK]

      [2011-07-18 13:34:59,257:debug] Message receieved on server : OperationRequest

      [2011-07-18 13:34:59,257:debug] Arguments : [Start, 9, poc]

      [2011-07-18 13:34:59,257:debug] Command receieved on server was operation of type: Start

      [2011-07-18 13:34:59,265:debug] Message receieved on server : QueryTasksAssignedAsPotentialOwner

      [2011-07-18 13:34:59,265:debug] Arguments : [poc, en-UK]

      [2011-07-18 13:35:02,936:debug] Message receieved on server : OperationRequest

      [2011-07-18 13:35:02,937:debug] Arguments : [Complete, 9, poc, null, null]

      [2011-07-18 13:35:02,937:debug] Command receieved on server was operation of type: Complete

      [2011-07-18 13:35:02,944:debug] Message receieved on server : QueryTasksAssignedAsPotentialOwner

      [2011-07-18 13:35:02,945:debug] Arguments : [poc, en-UK]

       

       

      ---

      thanks lot!

      b