[JBoss-user] [JBoss jBPM] - Re: Getting previous Node?

2006-05-09 Thread cwad0000
thanks tansdale,

i ended up saving the node name in each node in a process variable, not very 
pretty, would have been nicer if I could find out how the path in hte workflow 
was.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3942118#3942118

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3942118


---
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=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Getting previous Node?

2006-05-08 Thread tansdale
each node has a  set of arriving transition, and
each transition has a original node. 
u can get a arriving transition and get the arriving node.

example:
   Set arrivingtransitions = node.getArrivingTransitions();
   // i dont know who to use Set ;
   // u can get a transition from the transition set;
   // i use atransition;
   Node node = atransion.getFrom();
  // but if u have more than one transition u have to judge which transition if 
the real arriving transition. 
  // if u process if complex, u can save the token's path in Context variable;
  
i hope it can help u.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3941820#3941820

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3941820


---
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=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user