[rules-users] How execute a Single rule from rule file or rulepackage
Anstis, Michael (M.)
manstis1 at ford.com
Mon Jul 6 04:06:36 EDT 2009
If each rule is held within a unique agenda, you could use agenda
filters.
How would you determine which rule needs to be activated though? You'd
need some criteria hard-coded elsewhere in your application. Why not
make this part of the rules too?
________________________________
From: rules-users-bounces at lists.jboss.org
[mailto:rules-users-bounces at lists.jboss.org] On Behalf Of Amila Silva
Sent: 03 July 2009 07:17
To: rules-users at lists.jboss.org
Subject: [rules-users] How execute a Single rule from rule file
or rulepackage
hi everyone,
I have a requirement like execute a single rule from set of
loaded rule files or single rule from single drl file.
when i execute fireAllRules() it executes the all the rules in
the files. even that overloaded method that take int as agrs also
seems doesnt help much.
let me know if any body gone thru this kind of senarios.
--
Thanks,
Regrads,
Amila Silva,
Associate Software Engineer
hSenid Mobile Solutions
Phone :
+94-77-9983894
Fax :
+94-11-2673 845
Web:
http://www.hSenid.com
Make it Happen
http://www.hSenidMobile.com
Enabling the Mobile World
Disclaimer: This email and any files transmitted with it are
confidential and intended solely for the use of the individual or entity
to which they are addressed. The content and opinions contained in this
email are not necessarily those of hSenid Software International. If you
have received this email in error please contact the sender.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20090706/f4fc407a/attachment.html
More information about the rules-users
mailing list