You can get the full trace of a process' execution with the following code.  I 
used this to figure out what kind of stuff was in the jbpm log table.  You'll 
notice that there are different logging event types, so you can determine what 
the log entry applies to based on the class of the logging event.  You should 
be able to get more insight by looking at the javadocs too.

  | JbpmContext context = JbpmConfiguration.getInstance().createJbpmContext();
  | try
  | {
  |   Map logs = context.getLoggingSession().findLogsByProcessInstance(152);
  |                     
  |   List logList = (List)logs.get(logs.keySet().iterator().next());
  |   for (Iterator it = logList.iterator(); it.hasNext(); )
  |   {
  |     Object log = it.next();
  |     System.out.println("LOG TYPE: " + log.getClass().getName() + " --> " + 
log.toString());
  |   }
  | }
  | finally
  | {
  |   context.close();
  | }   
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3942951#3942951

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3942951


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to