Fwd: Drools and Dynamic rules per client
by Radhika Inugala
Hi All,
I am new to drools rule engine.
And I am looking at the drools for the following requirement:
My application has many customers, and we want to give them an ability to
set some sort of rules.
We need to store these rules and then when we get requests from these
clients we need to apply these client specific rules to the requests.
So the rules and the rule data is customer specific.
Please let me know, if we can do that using drools.
12 years, 8 months
How to call a function in when statement?
by luqman
I am using Drools. I was using a function to check a condition and I'm facing
this problem:
When I call the function without using an input argument, then it works
fine. However, when I use the function using an argument, then it fails and
the program gives the following error:
Exception in thread "main" [Error: *unable to resolve method using
strict-mode:* rbs.RBS.checkTopology(java.lang.Object)]
[Near : {... RBS.checkTopology($alarm.getProper ....}]
The rule is:
rule "R_LOS"
when
$alarm:Alarm(properties.get("nativeProbableCause")=="R_LOS",properties.get("perceivedSeverity")!="PS_CLEARED",*/RBS.checkTopology($alarm.getProperties.get("nativeEMSName")/*
) )
then
System.out.println($alarm.getProperties().get("perceivedSeverity"));
end
The function I'm using RBS.checkTopology(String name). Remember, that when I
don't pass the argument I change the function prototype too!
Kindly, help me out with this!!!
--
View this message in context: http://drools.46999.n3.nabble.com/How-to-call-a-function-in-when-statemen...
Sent from the Drools: User forum mailing list archive at Nabble.com.
12 years, 8 months
Drools_Documentation
by Oussama Rezgui
Hi,
I am an engineer student, I am asking to develop a program (the program
will choose autocratically an account type that fits best a bank customer)
using drools and Java. I never worked with this and I am really confused.
If there is someone who can help me I will be so grateful I can't ask
question here since I am beginner. I need basic documentation and someone
who can answer my question privately.
Thanks
--
Oussama REZGUI
Engineering Student at the ENSI (École Nationale des Sciences de
l'Informatique, Tunisie)
Treasurer of the TAICE ( Tunisian Association for International Cultural
Exchanges )
Event Manager at OSSEC ( Open Source Software ENSI Club )
http://about.me/oussama.rezgui
Mobile: +216 52 89 07 17
12 years, 8 months