Michael G [https://community.jboss.org/people/mpgong] created the discussion

"How to use the Error Event node in process (jBPM5.2)?"

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

--------------------------------------------------------------
Hello,

I've searched around for this but didn't find an answer, is it possible to use 
the Error Event node to trigger a handler?

>From the documentation is says this:

An Error Event can be used to signal an exceptional condition in the process.  
It should have one incoming connection and no outgoing connections.  When an 
Error Event is reached in the process, it will throw an error with the given 
name. The process will search for an appropriate error handler that is capable 
of handling this kind of fault.  If no error handler is found, the process 
instance will be aborted.  An Error Event contains the following properties:
* +Id+: The id of the node (which is unique within one node container).
* +Name+: The display name of the node.
* +FaultName+: The name of the fault.  This name is used to search for 
appropriate exception handlers that are capable of handling this kind of fault.
* +FaultVariable+: The name of the variable that contains the data associated 
with this fault.  This data is also passed on to the exception handler (if one 
is found).
Error handlers can be specified using boundary events.  This is however 
currently only possible when working with XML directly.  We will be adding 
support for graphically specifying this in the new BPMN2 editor.


So i would like to know how the handler is implemented and inserted into the 
process.  On the process properties page there is a Property for Exception 
Handlers but when i define one here it isn't getting called.
Does anyone know what i'm doing wrong?

Thanks
--------------------------------------------------------------

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

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