as I understand it, there are 3 ways: a) put all your rules into the same activation group if one of the rules was executed no other one will be executed
b) give each of your rules a different ruleflow-group then define for each rule one RuleFlow then you can execute a single RuleFlow using startProcess("myRuleFlow") -> fireAllRules c) use AgendaFilters like workingMemory.fireAllRules( new RuleNameEndsWithAgendaFilter( "Test" ) ); see: documentation 2.5.7.3 ekke marimuthu77 wrote: > > > Hi , > > I have 10 rules in my .drl file. how can i fire specific rule? > > Regards > Marimuthu > > > > The information contained in this electronic message and any attachments > to this message are intended for the exclusive use of the addressee(s) and > may contain proprietary, confidential or privileged information. If you > are not the intended recipient, you should not disseminate, distribute or > copy this e-mail. Please notify the sender immediately and destroy all > copies of this message and any attachments. > > WARNING: Computer viruses can be transmitted via email. The recipient > should check this email and any attachments for the presence of viruses. > The company accepts no liability for any damage caused by any virus > transmitted by this email. > > www.wipro.com > _______________________________________________ > rules-users mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > > -- View this message in context: http://www.nabble.com/Firing-single-rule-tf4507430.html#a12855543 Sent from the drools - user mailing list archive at Nabble.com. _______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users