Hi All, I have two questions related with drools 5.0
Q1- How can I triggered each rule one by one like rule 01 when ...... then ...... End rule 02 when ...... then ...... End rule 03 when ...... then ...... End If I write a command * final* StatefulKnowledgeSession ksession = kbase.newStatefulKnowledgeSession(); ksession.fireAllRules(); then all rules will be fired but I want to executed only *rule 02* how can I able to do this? Q2-Can I make two objects in when section like rule 01 when obj1:Temp1(); obj2:Temp2(); then System.out.println("Hello World"); End Here Temp1 and Temp 2 is two different class ,when I am running this DRL file is not parsed . Please correct me if I am wrong . Regards Yash
_______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users