[jboss-user] [jBPM] New message: "Re: Exception handling in JBPM4"

Martin Porter do-not-reply at jboss.com
Thu Feb 4 07:44:04 EST 2010


User development,

A new message was posted in the thread "Exception handling in JBPM4":

http://community.jboss.org/message/524154#524154

Author  : Martin Porter
Profile : http://community.jboss.org/people/jedizippy

Message:
--------------------------------------------------------------
You can store the result in the process execution using execution.setVariable(). Your custom class would implement the ExternalActivityBehaviour and hence inside the execute() method you do your processing and at the end you call execution.takeXXXXX() with the name of the transition. Alternatively you can store a variable in the process execution and then have a decision handler implementing DecisionHandler in which you can check its value and return the transition from the decide() method.
 
Regards
Martin

--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/524154#524154




More information about the jboss-user mailing list