JBoss Community

Re: jBPM straying after user task completed

created by Laura delli Paoli in jBPM - View the full discussion

I cannot claim the task before starting it, likely because my taks is already reserved to user john...

 

15:02:12,792 ERROR [stderr] (Thread-65) org.jbpm.task.service.PermissionDeniedException: User '[User:'john']' was unable to execution operation 'Claim' on task id 123 due to a no 'current status' match

15:02:12,793 ERROR [stderr] (Thread-65)           at org.jbpm.task.service.TaskServiceSession.evalCommand(TaskServiceSession.java:311)

15:02:12,793 ERROR [stderr] (Thread-65)           at org.jbpm.task.service.TaskServiceSession.taskOperation(TaskServiceSession.java:426)

15:02:12,794 ERROR [stderr] (Thread-65)           at org.jbpm.task.service.TaskServerHandler.messageReceived(TaskServerHandler.java:90)

15:02:12,795 ERROR [stderr] (Thread-65)           at org.jbpm.task.service.hornetq.HornetQTaskServerHandler.messageReceived(HornetQTaskServerHandler.java:43)

15:02:12,795 ERROR [stderr] (Thread-65)           at org.jbpm.task.service.hornetq.BaseHornetQTaskServer.run(BaseHornetQTaskServer.java:104)

15:02:12,796 ERROR [stderr] (Thread-65)           at java.lang.Thread.run(Thread.java:722)

15:02:12,796 ERROR [org.jbpm.task.service.TaskServerHandler] (Thread-65) User '[User:'john']' was unable to execution operation 'Claim' on task id 123 due to a no 'current status' match: org.jbpm.task.service.PermissionDeniedException: User '[User:'john']' was unable to execution operation 'Claim' on task id 123 due to a no 'current status' match

          at org.jbpm.task.service.TaskServiceSession.evalCommand(TaskServiceSession.java:311) [jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]

          at org.jbpm.task.service.TaskServiceSession.taskOperation(TaskServiceSession.java:426) [jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]

          at org.jbpm.task.service.TaskServerHandler.messageReceived(TaskServerHandler.java:90) [jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]

          at org.jbpm.task.service.hornetq.HornetQTaskServerHandler.messageReceived(HornetQTaskServerHandler.java:43) [jbpm-human-task-hornetq-5.4.0.Final.jar:5.4.0.Final]

          at org.jbpm.task.service.hornetq.BaseHornetQTaskServer.run(BaseHornetQTaskServer.java:104) [jbpm-human-task-hornetq-5.4.0.Final.jar:5.4.0.Final]

          at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_19]

 

 

15:02:32,730 INFO  [eu.discoveryreply.applicationLayer.controller.Controller] (Thread-66) eu.discoveryreply.commons.data.MCFTask@264d5d94 > task claimed

15:02:32,745 INFO  [eu.discoveryreply.applicationLayer.controller.Controller] (Thread-66) Task 123 is not "InProgress" yet! It is still in Status Reserved

Reply to this message by going to Community

Start a new discussion in jBPM at Community