2011/2/4 David Smith <mail(a)davesmith.me.uk>
I am trying to use a declared type in a decision table
but get an "Unable to resolve ObjectType" message.
The declared type is in a file types.drl,
I have a spreadsheet test.xls that has a Ruleset with
an import line for the declared type.
Is it possible to reference a declared type from a decision table?
No, at least not without whacky hacks.
Is it possible to declare a type in a decision table?
Yes, as if it were a function declaration. You can put declares in the cell
to the right of keyword "Functions".
Types declared in Java codes have some advantages. (I use declare for
defining *new* types only for playing around.)
rules-users mailing list