<html>

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<meta name=Generator content="Microsoft Word 10 (filtered)">

<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.emailformatvorlage17
        {font-family:Arial;
        color:windowtext;}
span.EmailFormatvorlage18
        {font-family:Arial;
        color:navy;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=DE link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>No ideas? Seems to me
like a pretty common question&#8230;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal style='margin-left:35.4pt'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>-----Ursprüngliche Nachricht-----<br>
<b><span style='font-weight:bold'>Von:</span></b>
rules-users-bounces@lists.jboss.org
[mailto:rules-users-bounces@lists.jboss.org] <b><span style='font-weight:bold'>Im
Auftrag von </span></b>Liße, Jan<br>
<b><span style='font-weight:bold'>Gesendet:</span></b> Freitag, 12. November
2010 11:45<br>
<b><span style='font-weight:bold'>An:</span></b> 'rules-users@lists.jboss.org'<br>
<b><span style='font-weight:bold'>Betreff:</span></b> [rules-users] Drools flow
question on proper exception handling / use of faults</span></font></p>

<p class=MsoNormal style='margin-left:35.4pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>&nbsp;</span></font></p>

<p class=MsoNormal style='margin-left:35.4pt'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Hi,</span></font></p>

<p class=MsoNormal style='margin-left:35.4pt'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>&nbsp;</span></font></p>

<p class=MsoNormal style='margin-left:35.4pt'><font size=2 face=Arial><span
lang=EN-GB style='font-size:10.0pt;font-family:Arial'>I have a process workflow
where an exception might occur within one Action. I need to react on this
exception in the workflow. That means I don&#8217;t want to skip the entire
processing</span></font></p>

<p class=MsoNormal style='margin-left:35.4pt'><font size=2 face=Arial><span
lang=EN-GB style='font-size:10.0pt;font-family:Arial'>I just want to react
properly by setting an error variable and skip this specific item (my process
iterates over a list of items).</span></font></p>

<p class=MsoNormal style='margin-left:35.4pt'><font size=2 face=Arial><span
lang=EN-GB style='font-size:10.0pt;font-family:Arial'>Now I tried to model my
Action together with a Fault Node within a CompositeNode as seen in the User
manual section on exception handling. The outgoing connection</span></font></p>

<p class=MsoNormal style='margin-left:35.4pt'><font size=2 face=Arial><span
lang=EN-GB style='font-size:10.0pt;font-family:Arial'>of my Action is connected
with the Fault. The outgoing connection of the CompositeNode is connected with
the next Action. When I run the process it comes to the Action node and hangs
there if no exception occurs (the next Action is never reached). Looking at the
model this is reasonable since the outgoing connection leads to the Fault node.
So my question is how can I properly model this kind of exception handling,
where I need two ways of execution (one if everything goes fine, and one for
fault handling)? Wrapping everything inside a CompositeNode alone does not seem
to be sufficient&#8230;</span></font></p>

<p class=MsoNormal style='margin-left:35.4pt'><font size=2 face=Arial><span
lang=EN-GB style='font-size:10.0pt;font-family:Arial'>&nbsp;</span></font></p>

<p class=MsoNormal style='margin-left:35.4pt'><font size=2 face=Arial><span
lang=EN-GB style='font-size:10.0pt;font-family:Arial'>Thanks in advance for any
help!</span></font></p>

<p class=MsoNormal style='margin-left:35.4pt'><font size=2 face=Arial><span
lang=EN-GB style='font-size:10.0pt;font-family:Arial'>-Jan </span></font></p>

<p class=MsoNormal style='margin-left:35.4pt'><font size=2 face=Arial><span
lang=EN-GB style='font-size:10.0pt;font-family:Arial'>&nbsp;</span></font></p>

</div>

</body>

</html>