[jboss-user] [jBPM] - in jBPM 4.3, can a state node's handler choose its outgoing transition?
Maciej Swiderski
do-not-reply at jboss.com
Thu Jun 24 13:48:26 EDT 2010
Maciej Swiderski [http://community.jboss.org/people/swiderski.maciej] replied to the discussion
"in jBPM 4.3, can a state node's handler choose its outgoing transition?"
To view the discussion, visit: http://community.jboss.org/message/549553#549553
--------------------------------------------------------------
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 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
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/549553#549553]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100624/53db7c35/attachment.html
More information about the jboss-user
mailing list