-
1. Re: How to access the list of following tasks (or previous tasks)
d.y. Aug 26, 2011 3:29 AM (in response to d.y.)I think i just found out myself. In the Java doc you can see that every node(task) has a list and a map of incoming and outgoing connection.
-
2. Re: How to access the list of following tasks (or previous tasks)
d.y. Aug 26, 2011 3:47 AM (in response to d.y.)But maybe you can tell me, how i can get the current node?
Edit: Never mind, i found it here: http://community.jboss.org/thread/171322?tstart=0
Sorry for spamming but the last days i had such a slow progress and now i just find answers so quick. :-)
-
3. Re: How to access the list of following tasks (or previous tasks)
salaboy21 Aug 26, 2011 9:30 AM (in response to d.y.)Ok, beware.. if you are creating human task the best way to retrieve and query all the human tasks is using the human tasks APIs and not the low level API that allows to get the node names of your processes. Cheers
-
4. Re: How to access the list of following tasks (or previous tasks)
d.y. Aug 29, 2011 3:37 AM (in response to salaboy21)Hm, I don't know what u mean. Could you please give me a short code example?
-
5. Re: How to access the list of following tasks (or previous tasks)
salaboy21 Aug 29, 2011 9:06 AM (in response to d.y.)If you are using the jbpm snapshots (5.2.0-SNAPSHOT) you can take a look at the AsyncTaskService and TaskService class. Both interfaces that allows you to query the informaiton about your human tasks and also interact with them. If you are using older versions you should take a look at the TaskClient class that has that logic.
Cheers