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...
OptionInstrument)
when
position : Position(option : instrument, option.class ==
...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--tp17425953p17453068.html
Sent from the drools - user mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users