This content has been marked as final.
Show 2 replies
-
1. Re: in jBPM 4.3, can a state node's handler choose its outgoing transition?
swiderski.maciej Jun 24, 2010 1:47 PM (in response to tunmang)To me it looks like perfect scenario for custom activity. First you put your custom activity into wait state (implement execute method) next you can signal it (same way as for regular wait activity) and within signal method you could decide what transition to take.
Please have a look at user guide for details about custom activity: http://docs.jboss.com/jbpm/v4/userguide/html_single/#custom
In general, event listeners should not affect the flow of the process - in my opinion.
HTH
-
2. Re: in jBPM 4.3, can a state node's handler choose its outgoing transition?
tunmang Jun 25, 2010 3:21 PM (in response to swiderski.maciej)Hi Maciej:Thank you so much for the information. We actually also thought about the "custom" node, but just want to know if "state" node can also do it or not. Thanks again.Tun Mang