[rules-users] Setting typesafe in decision tables

abr alexis.brouard at haulogy.net
Wed Nov 2 04:12:15 EDT 2011


In Drools 5.3, is it possible to add the typesafe notation to an object
within a decision table?

The idea behind this question is to be able to define conditions on fields
that cannot be resolved at compile time but that can be at runtime.
(e.g. define conditions on event.payload.field1 where event.payload is a
java.lang.Object and field1 an attribute of the object's class set in
event.payload at runtime)
I've tried to disable MVEL strict mode but without success.
Note: this worked in Drools 5.1 because of the more permissive parsing
method. 

By the way, if you have other ideas that should work, I opened to them :-)

Best,
Alexis

--
View this message in context: http://drools.46999.n3.nabble.com/Setting-typesafe-in-decision-tables-tp3473147p3473147.html
Sent from the Drools: User forum mailing list archive at Nabble.com.



More information about the rules-users mailing list