Jaber C. Mourad [http://community.jboss.org/people/newbeewan] created the discussion
"processEngine.setAuthenticatedUserId(userId) accept null user" To view the discussion, visit: http://community.jboss.org/message/574522#574522 -------------------------------------------------------------- Hi, I'm using processEngine.setAuthenticatedUserId(userId) on jbpm 4.4. I found something curious with userId value for example : TaskService ts = processEngine.setAuthenticatedUserId(userId).getTaskService(); List<Task> tasks = ts.findPersonalTasks(userId); If userId != null : I've got userId task list as expected ! If userId == null : I've got everyone tasks !! I would get not tasks or not assigned tasks ! Is there something wrong in this result ? Regards -------------------------------------------------------------- Reply to this message by going to Community [http://community.jboss.org/message/574522#574522] Start a new discussion in jBPM at Community [http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
_______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user