<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" xmlns:w=3D"urn:sch=
emas-microsoft-com:office:word" xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        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.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:10=
.0pt;
font-family:Arial'>Hi,<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:10=
.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:10=
.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:10=
.0pt;
font-family:Arial'>Suppose I have a rule as <o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:10=
.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><b><font size=3D2 color=
=3D"#960000"
face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier Ne=
w";
color:#960000;font-weight:bold'>rule</span></font></b><font size=3D2 color=
=3Dblack
face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier Ne=
w";
color:black'> </span></font><font size=3D2 color=3Dgreen face=3D"Courier New=
"><span
style=3D'font-size:10.0pt;font-family:"Courier New";color:green'>&quot;Rule1=
&quot;</span></font><font
size=3D2 color=3Dblack face=3D"Courier New"><span style=3D'font-size:10.0pt;=
font-family:
"Courier New";color:black'> </span></font><font size=3D2 face=3D"Courier New=
"><span
style=3D'font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></fon=
t></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 color=3Dbl=
ack
face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier Ne=
w";
color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</span></font><b><font
size=3D2 color=3D"#960000" face=3D"Courier New"><span style=3D'font-size:10.=
0pt;
font-family:"Courier New";color:#960000;font-weight:bold'>when</span></font>=
</b><font
size=3D2 face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"C=
ourier New"'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 color=3Dbl=
ack
face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier Ne=
w";
color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp; Message(
message =3D=3D </span></font><font size=3D2 color=3Dgreen face=3D"Courier Ne=
w"><span
style=3D'font-size:10.0pt;font-family:"Courier New";color:green'>&quot;Hello=
&quot;</span></font><font
size=3D2 color=3Dblack face=3D"Courier New"><span style=3D'font-size:10.0pt;=
font-family:
"Courier New";color:black'> ) || Message( status =3D=3D </span></font><font=
 size=3D2
color=3Dgreen face=3D"Courier New"><span style=3D'font-size:10.0pt;font-fami=
ly:"Courier New";
color:green'>0</span></font><font size=3D2 color=3Dblack face=3D"Courier New=
"><span
style=3D'font-size:10.0pt;font-family:"Courier New";color:black'> )</span></=
font><font
size=3D2 face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"C=
ourier New"'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 color=3Dbl=
ack
face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier Ne=
w";
color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</span></font><b><font
size=3D2 color=3D"#960000" face=3D"Courier New"><span style=3D'font-size:10.=
0pt;
font-family:"Courier New";color:#960000;font-weight:bold'>then</span></font>=
</b><font
size=3D2 face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"C=
ourier New"'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 color=3Dbl=
ack
face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier Ne=
w";
color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.out.println(</span></font><font
size=3D2 color=3Dgreen face=3D"Courier New"><span style=3D'font-size:10.0pt;=
font-family:
"Courier New";color:green'>&quot;then executed&quot;</span></font><font size=
=3D2
color=3Dblack face=3D"Courier New"><span style=3D'font-size:10.0pt;font-fami=
ly:"Courier New";
color:black'>);</span></font><font size=3D2 face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></fon=
t></p>

<p class=3DMsoNormal><b><font size=3D2 color=3D"#960000" face=3D"Courier New=
"><span
style=3D'font-size:10.0pt;font-family:"Courier New";color:#960000;font-weigh=
t:
bold'>End<o:p></o:p></span></font></b></p>

<p class=3DMsoNormal><b><font size=3D2 color=3D"#960000" face=3D"Courier New=
"><span
style=3D'font-size:10.0pt;font-family:"Courier New";color:#960000;font-weigh=
t:
bold'><o:p>&nbsp;</o:p></span></font></b></p>

<p class=3DMsoNormal><b><font size=3D2 color=3D"#960000" face=3D"Courier New=
"><span
style=3D'font-size:10.0pt;font-family:"Courier New";color:#960000;font-weigh=
t:
bold'><o:p>&nbsp;</o:p></span></font></b></p>

<p class=3DMsoNormal><b><font size=3D2 color=3D"#960000" face=3D"Courier New=
"><span
style=3D'font-size:10.0pt;font-family:"Courier New";color:#960000;font-weigh=
t:
bold'>Then is there a way to find out which condition is satisfied? I.e.
whether message was equal to &#8220;Hello&#8221; or status was 0.<o:p></o:p>=
</span></font></b></p>

<p class=3DMsoNormal><b><font size=3D2 color=3D"#960000" face=3D"Courier New=
"><span
style=3D'font-size:10.0pt;font-family:"Courier New";color:#960000;font-weigh=
t:
bold'>We are writing alert generation using rules engine, we need to specify=
 in
the alert that because of which condition alert gets generated. <o:p></o:p><=
/span></font></b></p>

<p class=3DMsoNormal><b><font size=3D2 color=3D"#960000" face=3D"Courier New=
"><span
style=3D'font-size:10.0pt;font-family:"Courier New";color:#960000;font-weigh=
t:
bold'>We are having multiple clauses in a single rule. So what is the correc=
t
way to find the clause because of which alert is generated. We cannot keep t=
hem
in separate rule because we need to consider and\or conditions between these
clauses.<o:p></o:p></span></font></b></p>

<p class=3DMsoNormal><b><font size=3D2 color=3D"#960000" face=3D"Courier New=
"><span
style=3D'font-size:10.0pt;font-family:"Courier New";color:#960000;font-weigh=
t:
bold'><o:p>&nbsp;</o:p></span></font></b></p>

<p class=3DMsoNormal><b><font size=3D2 color=3D"#960000" face=3D"Courier New=
"><span
style=3D'font-size:10.0pt;font-family:"Courier New";color:#960000;font-weigh=
t:
bold'>Thanks,<o:p></o:p></span></font></b></p>

<p class=3DMsoNormal><b><font size=3D2 color=3D"#960000" face=3D"Courier New=
"><span
style=3D'font-size:10.0pt;font-family:"Courier New";color:#960000;font-weigh=
t:
bold'>Ashwini<o:p></o:p></span></font></b></p>

</div>

<p>DISCLAIMER=0A=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=
This e-mail may contain privileged and confidential information which is the=
 property of Persistent Systems Pvt. Ltd. It is intended only for the use of=
 the individual or entity to which it is addressed. If you are not the inten=
ded recipient, you are not authorized to read, retain, copy, print, distribu=
te or use this message. If you have received this communication in error, pl=
ease notify the sender and delete all copies of this message. Persistent Sys=
tems Pvt. Ltd. does not accept any liability for virus infected mails.</p>
</body>

</html>