Edson, I do not assert the Instruments, on the Positions which contains
multiple Instruments. I an trying to match Option Positions (ie, Positions
that contain one or more Option legs).
What I did was...
when
position : Position(option : instrument, option.class ==
OptionInstrument)
...and this works correctly. Is the above more or less efficient than using
eval or the from-clause? It certainly is easier to read.
thanks!
-barry
--
View this message in context:
http://www.nabble.com/Matching-on-instanceof-without-eval--tp17425953p174...
Sent from the drools - user mailing list archive at
Nabble.com.