[rules-users] Nested Rules

Vishal Deshmukh vishaldeshmukh007 at yahoo.com
Thu May 22 05:30:36 EDT 2008


Hi
   
  I  am using Drools 4.0.4 with Eclipse 3.2. I m much happy with the results. But now my application needs nested loops..
  Can i write nested rules like 
   
  rule "rule 1 "         // if condition of rule 1 is true then only execute rule 2 other wise skip it
  when
      condition is true
  then
      execute rule2
   
  rule "rule 2 "
  when
      condition is true
  then
      action
   
  rule "rule 3"
  when 
        condition is true
  then
       action
   
  Thanks and Rgards
   
  Vishal

       
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20080522/0408f795/attachment.html 


More information about the rules-users mailing list