Kris Verlaenen [
http://community.jboss.org/people/KrisVerlaenen] created the discussion
"Re: how can i get all tasks in jbpm5"
To view the discussion, visit:
http://community.jboss.org/message/611861#611861
--------------------------------------------------------------
All tasks, in what context? That are assigned to you? Or all tasks for a specific process
instance? The task service is implemented so that you can only get the tasks that are
relevant to you. So that means you have to be assigned as a potential owner or similar to
be able to "see" the task.
It would be possible to simply retrieve all tasks as "Administrator" as this
user is always added as the administrative owner of a task in jBPM5, so that should allow
you to get all tasks.
Kris
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/611861#611861]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]