zecas zecas [http://community.jboss.org/people/zecas] replied to the discussion
"find User tasks" To view the discussion, visit: http://community.jboss.org/message/541272#541272 -------------------------------------------------------------- Hi, You have defined the users as candidate-users="...", and that makes the tasks available on the group task list. For a user to list, you must call: tasks = taskService.findGroupTasks("john"); Then if you want to work with it, you must pick it up, so the task is given a specific assignee, and no other person picks it up: taskService.takeTask(tasks.get(0).getId(), "john"); You must work out the tasks.get(0).getId() part :) Hope it helps. -------------------------------------------------------------- Reply to this message by going to Community [http://community.jboss.org/message/541272#541272] 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 [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
