In my drl file I am going to have  a number of rules that all implement 
the same condition. Is this the right way to do this ? Will condition node 
sharing be applied automatically ? Thanks


<rule name="provisionSMS">
 
 <parameter identifier="controller">
       <class>mt.com.go.cps.Controller</class>
     </parameter>
 
<groovy:condition>t.getActionName().equals("provisionSMS")</groovy:condition>
     <groovy:consequence>
 
             </groovy:consequence>
  </rule>
 
    <rule name="provisionSMS2">
 
 <parameter identifier="controller">
       <class>mt.com.go.cps.Controller</class>
     </parameter>
 
<groovy:condition>t.getActionName().equals("provisionSMS")</groovy:condition>
     <groovy:consequence>
 
                System.out.println(drools.getRuleName() );
 
     </groovy:consequence>
  </rule>
 

Reply via email to