I'm trying to work with the jBPM logging to provide process details for a 
customer.  I know begging is frowned upon, but I really really need some 
enlightenment here.  I want to get the full trace of the process from the 
LoggingSession.  However, when I get the logs for the main super process, I can 
see no indication that a sub process was created.  The sub process executed, 
and its logs are in the database, but I have no idea how to actually get at 
them.  I can see a TransitionLog where it goes to my Process State, but then 
the next thing I see basically is the signal leaving the Process State and 
going to the next node in the process.

I tried to test the destination node in the TransitionLog to see if it is an 
instanceof a ProcessState, but it's not, it's some CGLIB thing 
(org.jbpm.graph.def.Node$$EnhancerByCGLIB$$46898e07).  The only other solution 
I can think of is to set a process variable in the super process from the sub 
process that holds that sub process' ID and then key off of the 
Variableinstance.StringUpdateLog to grab the ID and go get the process' logs. 
*sigh*  I really don't want to do that, and I have to think there is a way to 
do what I want...but alas, the solution eludes me.  Thanks for any help that 
anyone can offer.

This is in jBPM 3.1.1. by the way.

-David

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

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


_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to