Guvnor WS Constraints not getting activated
by Kannan Murali
Hi,
I tried to add field constraints to the condition and action columns in my
rules. I am using a Decision table (Web guided editor) to input my rules.
Even after adding the constraints I was able to save rules that violated
them. I read in another post that working sets have to be activated
manually. I dont see any option to do that. I am using Guvnor version
5.4.0.Final. Attaching the screenshots of the constraint and the new rule.
Thanks
Kannan
12 years, 5 months
Drools Decision Table, multiple actions accumulation
by chsekhar
I am doing a similar example as described in this example in the link from
jboss website and go the section "6.1.3. How Decision Tables Work". (I have
attached the image as well)
http://drools.46999.n3.nabble.com/file/n4017733/example_decision_table.png
http://docs.jboss.org/drools/release/5.2.0.Final/drools-expert-docs/html/...
Drools documentation
In the example they are populating a "list" in the ACTION. So if a fact
matches couple of rows in the decision table, the list would contain those
two items.
My requirement is I need to have key value pair(Map) as my rule
consequence(ACTION). I was able to do one action which has "key,value" in a
single column and I was able to work with that. I am trying to find out if i
can have these values in two columns separately in the excel. (My key
actually contains 3 values and combining this with value looks messy. ex:
k1,k2,k3,value. So if can put the value in a separate column it would be
great)
I tried to create a global variable and called setter methods on separate
columns, but the problem is the setters in both the columns(ACTION) run
independently whereas I had to put both of them in a map which would mean I
should be able to pass the value present in both the columns in one method
call.
--
View this message in context: http://drools.46999.n3.nabble.com/Drools-Decision-Table-multiple-actions-...
Sent from the Drools: User forum mailing list archive at Nabble.com.
12 years, 5 months
drools.packagebuilder.conf
by Matteo Cusmai
Hi all,
i have developed some custom evaluators, and all worked fine with drools
5.3.
I put the file in object under my home folder.
I would like to pass to 5.4 final, but it doesn't read that file.
Where does it find the file?
Thanks a lot,
Matteo.
12 years, 5 months
need help or any links customizing guvnor
by Abdullah Shaikh
Hi,
I am new to drools & guvnor. I was able to create simple drl file and
run from classpath and from guvnor too using url.
I saw that we can create rules in guvnor but I want to know if we can
provide UI for creating rules ? I am not sure but I think what I want
is guided editor ?
Thanks,
Abdullah
12 years, 5 months
Papers about Drools Verifier
by Jackson Cunha
Anyone knows about academic papers involving drools verifier? I'm working
in a project where will be produced a paper and I need to cite some
caracteristics of it.
Thanks.
----------------------------------------------------------------------------------------------------------------
Jackson Cunha Cassimiro (CereB)
Bacharel em Ciencia da Computação - UFPI
MSN: jackson.cereb(a)gmail.com
Telefone Móvel +55 86 9928 1251
Analista de Sistemas - Infoway - http://www.infoway-pi.com.br
Missão Infoway - "Influenciar a Gestão de Sistemas de Saúde através de
e-health"
("A vida é um combate que os fracos abate, aos bravos, aos fortes só pode
exaltar" - Canção do Tamoio, Gonçalves Dias)
----------------------------------------------------------------------------------------------------------------
12 years, 5 months
Guvnor test case with fact with Object fields
by mpgong
Hello,
I have a fact that has is also my entity model and it has a field that is a
class called state which holds previous and current state values (enum).
So i have a condition that gets the state and gets the two values to check.
The issue i'm running into is with creating a test case in guvnor, is it
possible to create a test case with a field that is an object like this?
Guvnor recognizes that i have a field called state but it doesn't realize
that it is a class so it doesn't look like i would be able to test any rules
the uses state as a condition check.
Thanks
--
View this message in context: http://drools.46999.n3.nabble.com/Guvnor-test-case-with-fact-with-Object-...
Sent from the Drools: User forum mailing list archive at Nabble.com.
12 years, 5 months