[jboss-user] [jBPM] - Re: Exception Handling in jBPM

Maciej Swiderski do-not-reply at jboss.com
Wed Aug 1 08:47:09 EDT 2012

Maciej Swiderski [https://community.jboss.org/people/swiderski.maciej] created the discussion

"Re: Exception Handling in jBPM"

To view the discussion, visit: https://community.jboss.org/message/751443#751443

There are two approaches to this case (and probably even more):
1. model your exception handling in the process, so whenever something wrong happen you will trigger an error event and then model catch error event that will handle exception flow in the process - in my opinion this is recommended so business process covers all scenarios and not only positive flow so to say
2. enhance your work item handlers to deal with exception and signal events that are awaiting error situations

Both most likely will provide you with same result but option 1 in my opinion is clearer as that is visible directly on the process level and not somewhere in the code.


Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120801/1bd938b7/attachment.html 

More information about the jboss-user mailing list