[jboss-user] [jBPM] - Unable to Complete a Reserved Task

Sandra Renaud do-not-reply at jboss.com
Mon Jan 21 07:52:38 EST 2013


Sandra Renaud [https://community.jboss.org/people/joploya] created the discussion

"Unable to Complete a Reserved Task"

To view the discussion, visit: https://community.jboss.org/message/793227#793227

--------------------------------------------------------------
Hello all,

I am stopped at the end of the first step of my flow by this error :

org.jbpm.task.service.PermissionDeniedException: User '[User:'renauds']' was unable to execution operation 'Complete' on task id 1 due to a no 'current status' match


Going on the TaskServiceSession (evalCommand function) I don't find where it starts to be wrong.

Before to call the complete function
 getTaskService().completeWithResults(task.getId(), ((UserLDAP)identity.getUser()).getUser().getLogin(), results);

 I print these lines :
System.out.println("task id "+task.getId()+" has status "+getTaskService().getTask(task.getId()).getTaskData().getStatus()+" and is assigned to "+getTaskService().getTask(task.getId()).getTaskData().getActualOwner());

=>
User renauds wants to complete task id 1
task id 1 has status Reserved and is assigned to [User:'renauds']
DEBUG [task.management.MyUserGroupCallbackImpl] (http--127.0.0.1-8080-1) Seaching for user existence with filter renauds


If someone have an hint...

Best regards,
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/793227#793227]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130121/58bf74bc/attachment.html 


More information about the jboss-user mailing list