[jboss-user] [jBPM] - processEngine.setAuthenticatedUserId(userId) accept null user
Jaber C. Mourad
do-not-reply at jboss.com
Mon Dec 6 10:11:20 EST 2010
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]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20101206/0ec619db/attachment.html
More information about the jboss-user
mailing list