<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
we currently recommend that you figure out the specific rules for that
else part, and write them seperately.<br>
<br>
Mark<br>
Natraj Gudla wrote:
<blockquote
 cite="mid:d55672f70707170402v61769f17xb91b0ffe2b5f679a@mail.gmail.com"
 type="cite">
  <div>When writing a rule, how do i deal with a scenario to do an
action when a condition is not true. If i have a business need like</div>
  <div>&nbsp;</div>
  <div>IF COND1 is true</div>
  <div>&nbsp;&nbsp; DO Action1</div>
  <div>ELSE</div>
  <div>&nbsp;&nbsp; DO Action 2</div>
  <div>&nbsp;</div>
  <div>I feel with drools we only check for the condition in when part
and incase it fails, we dont have a way to call another action. Any
idea??</div>
  <div>&nbsp;</div>
  <div>&nbsp;</div>
  <div>Thanks</div>
  <div>Natraj</div>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
  </pre>
</blockquote>
<br>
</body>
</html>