[jboss-user] [jBPM] - Raise Business Exception Programmatically?

Franck cdsosi do-not-reply at jboss.com
Thu Aug 9 13:33:09 EDT 2012


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&containerType=14&container=2034]

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


More information about the jboss-user mailing list