<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="https://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    How to use the Error Event node in process (jBPM5.2)?
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="https://community.jboss.org/people/mpgong">Michael G</a> in <i>jBPM</i> - <a href="https://community.jboss.org/message/744303#744303">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>Hello,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>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?</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>From the documentation is says this:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><a class="jive-link-anchor-small"><p>An Error Event can be used to signal an exceptional condition in the process.&#160; It should have one incoming connection and no outgoing connections.&#160; 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.&#160; If no error handler is found, the process instance will be aborted.&#160; An Error Event contains the following properties:</p><ul><li><span class="emphasis"><em>Id</em></span>: The id of the node (which is unique within one node container).</li><li><span class="emphasis"><em>Name</em>: The display name of the node.</span></li><li><span class="emphasis"><em>FaultName</em></span>: The name of the fault.&#160; This name is used to search for appropriate exception handlers that are capable of handling this kind of fault.</li><li><span class="emphasis"><em>FaultVariable</em></span>: The name of the variable that contains the data associated with this fault.&#160; This data is also passed on to the exception handler (if one is found).</li></ul><p>Error handlers can be specified using boundary events.&#160; This is however currently only possible when working with XML directly.&#160; We will be adding support for graphically specifying this in the new BPMN2 editor.</p></a></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>So i would like to know how the handler is implemented and inserted into the process.&#160; On the process properties page there is a Property for Exception Handlers but when i define one here it isn't getting called.</p><p>Does anyone know what i'm doing wrong?</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Thanks</p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="https://community.jboss.org/message/744303#744303">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in jBPM at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>