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.

HTH
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/751443#751443]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to