Franck cdsosi [
https://community.jboss.org/people/cdsosi] created the discussion
"Raise Business Exception Programmatically?"
To view the discussion, visit:
https://community.jboss.org/message/752860#752860
--------------------------------------------------------------
Hi,
Does anybody know if it is possible to raise a Business Exception programmatically through
:
a- a Script Task ?
b- in an On Exit Action of a Human Task ?
c- within a WorkItemHandler ?
By Raising Business Exception programmatically I mean Throwing Error Event
programmatically that could be Catched By a Boundary Event.
Use case is a Boundary Event directly set on an User Task : an "On Exit Action"
could make some basic verification on user input and eventually raise an Error Event.
Of course there are others solutions such as making some modifications of the process
design but that's not I want to do ;)
Kind Regards
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/752860#752860]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]