[rules-users] Does the result of one rule can trigger theevaluation of one or more other rules.

Sikkandar Nawabjan Sikkandar.Nawabjan at ust-global.com
Fri Apr 11 13:18:34 EDT 2008


Yes it is quite possible provided that in the action part you need to set appropriate date that the other rule expect to trigger.
 
ex:
 rule 1
      when
             Object1(data1 == "s")
       then
            Object2.setBoolValue(true)
         update() 
 
rule 2
         when 
               object2(boolvalue==true)
          then
               sop();

________________________________

From: rules-users-bounces at lists.jboss.org on behalf of Swathi B
Sent: Fri 4/11/2008 10:30 PM
To: rules-users at lists.jboss.org
Subject: [rules-users] Does the result of one rule can trigger theevaluation of one or more other rules.




Can you please tell me whether the result of one rule can trigger the
evaluation of one or more other rules.

Is there any approach for doing so in Drools??


Thanks in Advance,
Swathi.
--
View this message in context: http://www.nabble.com/Does-the-result-of-one-rule-can-trigger-the-evaluation-of-one-or-more-other-rules.-tp16628148p16628148.html
Sent from the drools - user mailing list archive at Nabble.com.

_______________________________________________
rules-users mailing list
rules-users at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 5308 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/rules-users/attachments/20080411/f49953b8/attachment.bin 


More information about the rules-users mailing list