[rules-users] Drools: Using Declared Types in Decision Tables

mpgong michael.p.gong at lmco.com
Tue May 22 13:56:51 EDT 2012


Didn't want to start another thread but i have a question about declare types
in decision tables.

What is the format?

In the documentation is defines the keyword 'Declare'.  I use this under the
same column as the RuleSet and to the right i define the type as such

PmbDataType
field1:String
field2:String
date: Date
cost: float

Do i need to also put and end or something?  When i load it into guvnor and
show source the compiled DRL doesn't have the declare section in it so i'm
guessing my format in the spreadsheet is wrong.  How should it look?

Thanks

--
View this message in context: http://drools.46999.n3.nabble.com/Drools-Using-Declared-Types-in-Decision-Tables-tp2428018p4007118.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list