Sorry I did post before finishing...

Hello,
I'm testing jBPM and it really is a good product.
But I'm stuck with a problem when trying to identify node "real" Class type 
when the process definition is retrieve from datablase.

More practicallly :
JbpmContext jbpmContext = JbpmConfiguration.getInstance().createJbpmContext();
try {
ProcessInstance processInstance = 
jbpmContext.loadProcessInstanceForUpdate(processInstanceId);

processInstance.getRootToken().getNode().getClass();
<= this always has org.jbpm.graph.def.Node$$EnhancerByCGLIB$$a35a6dd8 as value

How could I get the real type (TaskNode, StartState,...)?
(without using the xml definition)

thank you



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

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

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
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to