Hi Markus, you can query sub process ids easyly, no need to store it on you own, jbpm knows what going on:
while (processInstance.getRootToken().getSubProcessInstance()!=null) { processInstance = processInstance.getRootToken().getSubProcessInstance(); // query logs here and add it to the result } Note that there is a bug with sub processes and logs in jbpm: http://jira.jboss.com/jira/browse/JBPM-477 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917907#3917907 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917907 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user