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]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to